DateTimeZone.FixedUtcNow

DateTimeZone

Returns the current UTC date and time as a datetimezone, fixed for the entire query evaluation.

Examples on this page use shared sample tables. View them to understand the input data before reading the examples below.

Syntax

DateTimeZone.FixedUtcNow() as datetimezone

Return Value

datetimezoneThe current UTC date and time with a +00:00 offset, fixed at the start of query evaluation.

Remarks

DateTimeZone.FixedUtcNow returns the current UTC date and time as a datetimezone value with a +00:00 offset, fixed to the moment query evaluation began. Unlike DateTimeZone.UtcNow(), all calls within a single query return the same value. This makes it ideal for audit timestamps, consistent age calculations, or any scenario requiring a stable, timezone-unambiguous reference point.

Prefer DateTimeZone.FixedUtcNow() over DateTime.FixedLocalNow() in Power BI Service and Dataflows cloud refreshes. Because cloud environments run on UTC, using UTC explicitly removes any ambiguity about what "local" time means across different refresh environments. The fixed variant ensures all computed columns based on "now" use an identical reference instant, eliminating subtle time-skew bugs in long-running queries.

For the non-fixed variant that may advance between calls, use DateTimeZone.UtcNow(). To convert the UTC datetimezone to a specific local timezone for display, pipe through DateTimeZone.SwitchZone.

Examples

Example 1: Stamp each row with a consistent UTC refresh time

let
    RefreshTime = DateTimeZone.FixedUtcNow(),
    Source = Table.SelectColumns(Table.FirstN(Sales, 4), {"OrderID", "OrderDate"}),
    WithStamp = Table.AddColumn(Source, "RefreshedAtUTC",
        each RefreshTime, type datetimezone)
in
    WithStamp
Applied Steps

The final output — the WithStamp table showing each order alongside its consistent UTC refresh timestamp.

OrderID
OrderDate
RefreshedAtUTC
111/15/20243/8/2026 4:00:00 PM
221/18/20243/8/2026 4:00:00 PM
332/1/20243/8/2026 4:00:00 PM
442/10/20243/8/2026 4:00:00 PM

Example 2: Return the fixed UTC now

#table(
    type table [FixedUTCNow = datetimezone],
    {{DateTimeZone.FixedUtcNow()}}
)
Result
FixedUTCNow
13/8/2026 4:00:00 PM

Example 3: Convert UTC refresh time to a local display timezone

let
    UTCNow = DateTimeZone.FixedUtcNow(),
    EasternNow = DateTimeZone.SwitchZone(UTCNow, -5),
    Source = Table.SelectColumns(Table.FirstN(Sales, 3), {"OrderID"}),
    WithStamp = Table.AddColumn(Source, "RefreshedAtEST",
        each EasternNow, type datetimezone)
in
    WithStamp
Applied Steps

The final output — the WithStamp table showing each order alongside its Eastern Time refresh timestamp converted from UTC.

OrderID
RefreshedAtEST
113/8/2026 4:00:00 PM
223/8/2026 4:00:00 PM
333/8/2026 4:00:00 PM

Compatibility

Power BI Desktop Power BI Service Excel Desktop Excel Online Dataflows Fabric Notebooks