VeloDB Cloud
SQL Manual
Functions
date-time-functions
utc_timestamp

utc_timestamp

Description

Syntax:

DATETIME UTC_TIMESTAMP()

This function returns the current UTC date and time in "YYYY-MM-DD HH: MM: SS" or "YYYYMMDDHMMSS" format.

Example

mysql> select utc_timestamp(),utc_timestamp() + 1;
+---------------------+---------------------+
| utc_timestamp()     | utc_timestamp() + 1 |
+---------------------+---------------------+
| 2019-07-10 12:31:18 |      20190710123119 |
+---------------------+---------------------+

Keywords

UTC_TIMESTAMP,UTC,TIMESTAMP