Important
New database features are no longer connected to engine versions; features are now enabled independently during scheduled update windows, and “major” and “minor” releases no longer exist in Helios. Please visit the release notes to view the latest features available in your database clusters.
LOCALTIMESTAMP
On this page
The LOCALTIMESTAMP() function returns the current time, in the local time zone.
Syntax
LOCALTIMESTAMP()
LOCALTIME()Return Type
DATETIME
Examples
SELECT LOCALTIMESTAMP();
+---------------------+
| LOCALTIMESTAMP() |
+---------------------+
| 2015-03-04 01:13:06 |
+---------------------+Related Topics
Last modified: