Applies to
Description
Returns a datetime2(7) value that contains the date and time of the computer on which the instance of SQL Server is running. ().
Sample Source Pattern
Syntax
Examples
Code:
SELECT SYSUTCDATETIME() as SYS_UTC_DATETIME;
Result:
SYSTEM_UTC_DATETIME |
---------------------------+
2023-02-02 20:59:28.0926502|
Code:
SELECT
SYSDATE() as SYS_UTC_DATETIME;
Result:
SYSTEM_UTC_DATETIME |
-------------------------+
2023-02-02 21:02:05.557 |
Known Issues
No issues were found.
No related EWIs.