How NOW() Works in MariaDB

In MariaDB, NOW() is a built-in date and time function that returns the current date and time.

The return value is returned in 'YYYY-MM-DD HH:MM:SS' or YYYYMMDDHHMMSS.uuuuuu format, depending on whether the function is used in a string or numeric context.

The return value is expressed in the current time zone.

You also have the option of specifying the microsecond precision.

Continue reading