Skip to content

UTC_TIME

  • precision: An optional parameter that specifies the fractional seconds precision of the returned time. It ranges from 0 (default) to 6, increasing the decimal places of the seconds component accordingly.
SELECT UTC_TIME();
'12:34:56'

The UTC_TIME function in MySQL provides the current time based on the Coordinated Universal Time (UTC). The output format is ‘HH:MM:SS’.