Now

now

The now function returns the current UTC datetime.

Spec

now()

Parameters

None.

Return Value

A datetime value representing the current UTC time.

Example

range x from 1 to 3 step 1
| extend current_time = now()
xcurrent_time
12025-08-05T15:00:00.0000000Z
22025-08-05T15:00:00.0000000Z
32025-08-05T15:00:00.0000000Z

The value will be the same for all rows in a single query execution.

now

Returns the current UTC datetime.

Syntax

now()

Examples

Show how fresh data is:

logs
| summarize newest = max(timestamp)
| project latencySeconds = datetime_diff("second", now(), newest)