Watch the 7.3 Webinar On-Demand
This new release brings updates to Universal Storage, query optimization, and usability that you won’t want to miss.

LOCALTIMESTAMP

Returns the current time, in the local time zone.

Syntax

LOCALTIMESTAMP()
LOCALTIME()

Return Type

Datetime object

Examples

select localtimestamp();
+---------------------+
| localtimestamp()    |
+---------------------+
| 2015-03-04 01:13:06 |
+---------------------+

Related Topics