to_date(any value)
Convert a string value to a date.
to_date("2008-12-31 23:59:59") to_date("today midnight")