Skip to content

GETUTCDATE

SELECT GETUTCDATE() AS CurrentUTCDate;
CurrentUTCDate
-------------------------------
2022-04-19 13:30:50.373

The GETUTCDATE() function fetches the current UTC date and time from the SQL Server. The code example uses this function to return the current UTC date and time, which is displayed under the CurrentUTCDate column in the output. The actual date and time displayed will depend upon the current system timestamp at the time of execution.