SQL Flow Field Guide

GETUTCDATE

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

nondeterministic time source

What changes

Input
system clock or time zone of the server
Output or change
current date/time value
Return type
datetime

Syntax at a glance

GETUTCDATE()

Work example

Read current UTC time at legacy datetime precision.

Test month end, leap day, offset, and the session language that will run the query.

Check your work Prefer SYSUTCDATETIME for higher precision and keep the stored type explicit.

Open Microsoft Learn for full syntax, permissions, and details for your version.