In SQL Server, the T-SQL SYSUTCDATETIME()
function is used to return the current UTC time (Coordinated Universal Time). UTC time is the primary time standard by which the world regulates clocks and time.
The return value of the SYSUTCDATETIME()
function is derived from the computer on which the instance of SQL Server is running. The time zone is not included, and it is returned as a datetime2 value. The fractional second precision specification has a range from 1 to 7 digits. The default precision is 7 digits.
SYSUTCDATETIME()
does the same thing that GETUTCDATE()
does, except that it returns a higher fractional precision. As mentioned, SYSUTCDATETIME()
returns a datetime2 value, whereas the GETUTCDATE()
function returns a datetime value.