top of page
CerebroSQL

UTC_TIME

База данных: MySQL

68747470733a2f2f7374796c65732e7265646469746d656469612e636f6d2f74355f32716d366b2f7374796c65

Syntax:
UTC_TIME, UTC_TIME([fsp])

Returns the current UTC time as a value in 'hh:mm:ss' or hhmmss format,
depending on whether the function is used in string or numeric context.

If the fsp argument is given to specify a fractional seconds precision
from 0 to 6, the return value includes a fractional seconds part of
that many digits.

URL: https://dev.mysql.com/doc/refman/8.0/en/date-and-time-functions.html

Example

mysql> SELECT UTC_TIME(), UTC_TIME() + 0;
-> '18:07:53', 180753.000000

bottom of page