Convert dates from date format to year/month/day/hour/min/sec columns or vice versa

convert_date(date_tbl)

Arguments

date_tbl

Table holding either one date column or the splitted date columns