Syntax
Parameters
Return Value
- On success: returns a
DATETIMEvalue based on UTC+0. - On failure: returns
NULL. Common reasons include:- Invalid
scale(not 0, 3, or 6) - Value out of DATETIME range (0001-01-01 to 9999-12-31)
- Invalid
Converts a Unix timestamp to a DATETIME type value.
DATETIME value based on UTC+0.NULL. Common reasons include:
scale (not 0, 3, or 6)