Copy as Markdown[Open in ChatGPT](https://chatgpt.com/?q=Read%20https%3A%2F%2Fcoralogix.com%2Fdocs%2Fdataprime%2Flanguage-reference%2Ffunctions-reference%2Ftime%2Fnow.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)[Open in Claude](https://claude.ai/new?q=Read%20https%3A%2F%2Fcoralogix.com%2Fdocs%2Fdataprime%2Flanguage-reference%2Ffunctions-reference%2Ftime%2Fnow.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)

# `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

}
```
