Outdated Version

You are viewing an older version of this section. View current production version.

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