Retrieve the current UTC date and time.
| SELECT GETUTCDATE(); |
GETUTCDATE() returns the current date and time in Coordinated Universal Time (UTC) from the database system, formatted as ‘YYYY-MM-DD hh:mm.mmm’.
| GETUTCDATE() |
|
Return type: |
datetime |
|
Works in: |
SQL Server (from 2008 onward), Azure SQL Database, Azure SQL Data Warehouse, and Parallel Data Warehouse |