You are viewing an older version of this section. View current production version.
Join the SingleStore Community Today
Get expert advice, develop skills, and connect with others.

LOCALTIMESTAMP

Returns the current time, in the local time zone.

Syntax

LOCALTIMESTAMP()
LOCALTIME()

Return Type

Datetime object

Examples

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

Related Topics