---
title: now
description: |
  Returns the current time as a timestamp at query execution.

  * Produces nanosecond precision if supported by the runtime, otherwise falls back to milliseconds.
  * Always returns the same value across multiple invocations within the same query.
url: https://coralogix.com/docs/dataprime/language-reference/functions-reference/time/now/
product: dataengine
feature: DataPrime Language
feature_id: dataprime-language
feature_identifier: dataengine/dataprime-language
last_updated: '2026-10-21'
---

# `now`

## Description

Returns the current time as a timestamp at query execution.

* Produces nanosecond precision if supported by the runtime, otherwise falls back to milliseconds.
* Always returns the same value across multiple invocations within the same query.

## Syntax

```
now(): timestamp
```

## Example

**Capture the current time**

Create a new field with the timestamp of when the query was executed.

### Example query

```
create now_time from now()
```

### Example output

```
{

  "now_time": 1728636400000000000

}
```
