SYSUTCDATETIME

Returns a datetime2 value that contains the date and time of the computer on which the instance of Querona is running. The date and time is returned as UTC time (Coordinated Universal Time). The fractional second precision specification has a range from 1 to 7 digits. The default precision is 7 digits.

Syntax

SYSUTCDATETIME ( )

Return types

datetime2

Example

SELECT SYSUTCDATETIME() as [now];

See Also