def convert_date(date, result_format='timestamp', exclude_millis=False, date_format=None):
 return Date(date, date_format).convert(result_format, millis=is_falsy(exclude_millis))

def convert_date ( date , result_format = 'timestamp' , exclude_millis = False , date_format = None ) : return Date ( date , date_format ) . convert ( result_format , millis = is_falsy ( exclude_millis ) )
returns a date column as a date object: .