UTC_TIME
UTC_TIME([precision])
Section titled “UTC_TIME([precision])”- 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.
Example
Section titled “Example”SELECT UTC_TIME();Output
Section titled “Output”'12:34:56'Explanation
Section titled “Explanation”The UTC_TIME function in MySQL provides the current time based on the Coordinated Universal Time (UTC). The output format is ‘HH:MM:SS’.