The MySQL LOCALTIMESTAMP
function is a synonym for the NOW()
function. It returns the current date and time.
The value is returned in ‘YYYY-MM-DD HH:MM:SS’ or YYYYMMDDHHMMSS format, depending on whether the function is used in a string or numeric context.