date_get_format function

Detect date format from a date column