UNIX_TIMESTAMP

If called with no argument, returns a Unix timestamp as an unsigned integer. If UNIX_TIMESTAMP() is called with a date argument, it returns the value of the argument as seconds since '1970-01-01 00:00:00'’

Syntax

UNIX_TIMESTAMP()