FROM_UNIXTIME

Format a UNIX timestamp as a date.

The FROM_UNIXTIME function accepts 1 or 2 arguments. The first argument can be a date or timestamp. The second argument is a string.

Syntax

FROM_UNIXTIME (datetime_or_integer, [format ])