The MySQL FROM_UNIXTIME()
function enables you to return a date representation of a Unix timestamp.
More specifically, it returns the Unix timestamp as a value in ‘YYYY-MM-DD HH:MM:SS’ or YYYYMMDDHHMMSS format, depending on whether the function is used in a string or numeric context.