In MariaDB, LOCALTIMESTAMP
and LOCALTIMESTAMP()
are synonyms for NOW()
.
The NOW()
function is a built-in date and time function that returns the current date and time.
The time is returned in either 'YYYY-MM-DD HH:MM:SS'
or YYYYMMDDHHMMSS.uuuuuu
format, depending on whether the function is being used in a string or numeric context.