UTC_TIMESTAMP()

Description

Returns the current UTC date and time as a value in ‘YYYY-MM-DD hh:mm:ss’ or YYYYMMDDhhmmss format, depending on whether the function is used in string or numeric context.

Syntax

  1. > UTC_TIMESTAMP()

Examples

  1. > SELECT UTC_TIMESTAMP();
  2. +---------------------+
  3. | utc_timestamp() |
  4. +---------------------+
  5. | 2022-06-22 22:31:13 |
  6. +---------------------+