OpenBI Docs Buy

DateTimeZone.UtcNow

The date and time right now in UTC, with the offset +00:00.

Group: Dates and times. Power Query M has it too: a query that uses it is written as in Power BI.

Syntax

DateTimeZone.UtcNow() as datetimezone

It takes no parameters.

Returns

datetimezone. The current moment in UTC.

Remarks

  • UTC does not change with summer time, which makes it the safe choice for stamping a refresh. Each call reads the clock again; DateTimeZone.FixedUtcNow reads it once per evaluation.

Examples

Now in UTC

DateTimeZone.UtcNow()
#datetimezone(2026, 11, 8, 14, 42, 28, 0, 0)

Its offset is zero

DateTimeZone.ZoneHours(DateTimeZone.UtcNow())
0

DateTimeZone.FixedUtcNow, DateTimeZone.LocalNow, DateTimeZone.ToUtc.

Last updated · OpenBI Studio 0.3.79