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

Last modified: May 31, 2023

Was this article helpful?