TO_DATE

TO_DATE(expr[,fmt])

Returns the datetime representation of expr based on the fmt string or the default for expr's data type. If expr is already a datetime, the value is not converted.

The expr can be an integer or numeric value.