---
title: Temporal Functions
url: https://nexyron.tech/docs/cypher/functions/temporal
description: This family documents the live Cypher function surface in this category, including both overview pages and one page per function references where the runtime exposes distinct calla
---

# Temporal Functions

This family documents the live Cypher function surface in this category, including both overview pages and one-page-per-function references where the runtime exposes distinct callable names.

Nexyron's canonical temporal value in Cypher is an `i64` epoch-millisecond integer. `timestamp()`, `currenttimestamp()`, `current_timestamp()`, `now()`, `datetime(...)`, `toDateTime(...)`, date conversions, buckets, truncation, and temporal procedure bounds all use that same millisecond scalar contract. `time(...)` returns milliseconds since midnight, and fixed-width `duration(...)` values return integer milliseconds. Calendar-relative durations with months or years are not converted to a scalar duration because their exact width depends on the anchor date.

Pages:

-   [active-streak](https://nexyron.tech/docs/cypher/functions/temporal/active-streak)
-   [align-to-grid](https://nexyron.tech/docs/cypher/functions/temporal/align-to-grid)
-   [asof-join](https://nexyron.tech/docs/cypher/functions/temporal/asof-join)
-   [baseline-deviation](https://nexyron.tech/docs/cypher/functions/temporal/baseline-deviation)
-   [bucket-wallclock](https://nexyron.tech/docs/cypher/functions/temporal/bucket-wallclock)
-   [bucket](https://nexyron.tech/docs/cypher/functions/temporal/bucket)
-   [burst-count](https://nexyron.tech/docs/cypher/functions/temporal/burst-count)
-   [burst-duration](https://nexyron.tech/docs/cypher/functions/temporal/burst-duration)
-   [calendar-window](https://nexyron.tech/docs/cypher/functions/temporal/calendar-window)
-   [changes](https://nexyron.tech/docs/cypher/functions/temporal/changes)
-   [context-alignment-join](https://nexyron.tech/docs/cypher/functions/temporal/context-alignment-join)
-   [count-window](https://nexyron.tech/docs/cypher/functions/temporal/count-window)
-   [cumulative-sum](https://nexyron.tech/docs/cypher/functions/temporal/cumulative-sum)
-   [current-date](https://nexyron.tech/docs/cypher/functions/temporal/current-date)
-   [current-time](https://nexyron.tech/docs/cypher/functions/temporal/current-time)
-   [current-timestamp](https://nexyron.tech/docs/cypher/functions/temporal/current-timestamp)
-   [currenttimestamp](https://nexyron.tech/docs/cypher/functions/temporal/currenttimestamp)
-   [date-trunc](https://nexyron.tech/docs/cypher/functions/temporal/date-trunc)
-   [date](https://nexyron.tech/docs/cypher/functions/temporal/date)
-   [datetime](https://nexyron.tech/docs/cypher/functions/temporal/datetime)
-   [day](https://nexyron.tech/docs/cypher/functions/temporal/day)
-   [delta](https://nexyron.tech/docs/cypher/functions/temporal/delta)
-   [derivative](https://nexyron.tech/docs/cypher/functions/temporal/derivative)
-   [diff](https://nexyron.tech/docs/cypher/functions/temporal/diff)
-   [downsample](https://nexyron.tech/docs/cypher/functions/temporal/downsample)
-   [duration](https://nexyron.tech/docs/cypher/functions/temporal/duration)
-   [dwell-time](https://nexyron.tech/docs/cypher/functions/temporal/dwell-time)
-   [ema](https://nexyron.tech/docs/cypher/functions/temporal/ema)
-   [event-window](https://nexyron.tech/docs/cypher/functions/temporal/event-window)
-   [frequency](https://nexyron.tech/docs/cypher/functions/temporal/frequency)
-   [gap-duration](https://nexyron.tech/docs/cypher/functions/temporal/gap-duration)
-   [hour](https://nexyron.tech/docs/cypher/functions/temporal/hour)
-   [idelta](https://nexyron.tech/docs/cypher/functions/temporal/idelta)
-   [inactivity-streak](https://nexyron.tech/docs/cypher/functions/temporal/inactivity-streak)
-   [increase](https://nexyron.tech/docs/cypher/functions/temporal/increase)
-   [intensity](https://nexyron.tech/docs/cypher/functions/temporal/intensity)
-   [inter-event-time](https://nexyron.tech/docs/cypher/functions/temporal/inter-event-time)
-   [irate](https://nexyron.tech/docs/cypher/functions/temporal/irate)
-   [lag](https://nexyron.tech/docs/cypher/functions/temporal/lag)
-   [latest-state-join](https://nexyron.tech/docs/cypher/functions/temporal/latest-state-join)
-   [latest](https://nexyron.tech/docs/cypher/functions/temporal/latest)
-   [lead](https://nexyron.tech/docs/cypher/functions/temporal/lead)
-   [local-datetime](https://nexyron.tech/docs/cypher/functions/temporal/local-datetime)
-   [local-time](https://nexyron.tech/docs/cypher/functions/temporal/local-time)
-   [localdatetime](https://nexyron.tech/docs/cypher/functions/temporal/localdatetime)
-   [minute](https://nexyron.tech/docs/cypher/functions/temporal/minute)
-   [missing-ratio](https://nexyron.tech/docs/cypher/functions/temporal/missing-ratio)
-   [month](https://nexyron.tech/docs/cypher/functions/temporal/month)
-   [nearest-prior](https://nexyron.tech/docs/cypher/functions/temporal/nearest-prior)
-   [now](https://nexyron.tech/docs/cypher/functions/temporal/now)
-   [ordered-sequence-analytics](https://nexyron.tech/docs/cypher/functions/temporal/ordered-sequence-analytics)
-   [percent-change](https://nexyron.tech/docs/cypher/functions/temporal/percent-change)
-   [rank-in-window](https://nexyron.tech/docs/cypher/functions/temporal/rank-in-window)
-   [rate-and-weighted-analytics](https://nexyron.tech/docs/cypher/functions/temporal/rate-and-weighted-analytics)
-   [rate](https://nexyron.tech/docs/cypher/functions/temporal/rate)
-   [recency](https://nexyron.tech/docs/cypher/functions/temporal/recency)
-   [regularity-score](https://nexyron.tech/docs/cypher/functions/temporal/regularity-score)
-   [resample-to-grid](https://nexyron.tech/docs/cypher/functions/temporal/resample-to-grid)
-   [resampling-and-windowing](https://nexyron.tech/docs/cypher/functions/temporal/resampling-and-windowing)
-   [resets](https://nexyron.tech/docs/cypher/functions/temporal/resets)
-   [rolling-avg](https://nexyron.tech/docs/cypher/functions/temporal/rolling-avg)
-   [rolling-quantile](https://nexyron.tech/docs/cypher/functions/temporal/rolling-quantile)
-   [rolling-stddev](https://nexyron.tech/docs/cypher/functions/temporal/rolling-stddev)
-   [rolling-sum](https://nexyron.tech/docs/cypher/functions/temporal/rolling-sum)
-   [sample-by](https://nexyron.tech/docs/cypher/functions/temporal/sample-by)
-   [second](https://nexyron.tech/docs/cypher/functions/temporal/second)
-   [session-duration](https://nexyron.tech/docs/cypher/functions/temporal/session-duration)
-   [session-window](https://nexyron.tech/docs/cypher/functions/temporal/session-window)
-   [sliding-window](https://nexyron.tech/docs/cypher/functions/temporal/sliding-window)
-   [spread](https://nexyron.tech/docs/cypher/functions/temporal/spread)
-   [stale-since](https://nexyron.tech/docs/cypher/functions/temporal/stale-since)
-   [state-and-session-analytics](https://nexyron.tech/docs/cypher/functions/temporal/state-and-session-analytics)
-   [state-duration](https://nexyron.tech/docs/cypher/functions/temporal/state-duration)
-   [state-transition-count](https://nexyron.tech/docs/cypher/functions/temporal/state-transition-count)
-   [state-window](https://nexyron.tech/docs/cypher/functions/temporal/state-window)
-   [temporal-joins](https://nexyron.tech/docs/cypher/functions/temporal/temporal-joins)
-   [time-in-state](https://nexyron.tech/docs/cypher/functions/temporal/time-in-state)
-   [time-weighted-avg](https://nexyron.tech/docs/cypher/functions/temporal/time-weighted-avg)
-   [time-weighted-sum](https://nexyron.tech/docs/cypher/functions/temporal/time-weighted-sum)
-   [time](https://nexyron.tech/docs/cypher/functions/temporal/time)
-   [timestamp](https://nexyron.tech/docs/cypher/functions/temporal/timestamp)
-   [todate](https://nexyron.tech/docs/cypher/functions/temporal/todate)
-   [todatetime](https://nexyron.tech/docs/cypher/functions/temporal/todatetime)
-   [toduration](https://nexyron.tech/docs/cypher/functions/temporal/toduration)
-   [totime](https://nexyron.tech/docs/cypher/functions/temporal/totime)
-   [tozoneddatetime](https://nexyron.tech/docs/cypher/functions/temporal/tozoneddatetime)
-   [tozonedtime](https://nexyron.tech/docs/cypher/functions/temporal/tozonedtime)
-   [truncate](https://nexyron.tech/docs/cypher/functions/temporal/truncate)
-   [year](https://nexyron.tech/docs/cypher/functions/temporal/year)
-   [zoned-datetime](https://nexyron.tech/docs/cypher/functions/temporal/zoned-datetime)
-   [zoneddatetime](https://nexyron.tech/docs/cypher/functions/temporal/zoneddatetime)
-   [zonedtime](https://nexyron.tech/docs/cypher/functions/temporal/zonedtime)
