diff --git a/modules/ROOT/pages/functions/index.adoc b/modules/ROOT/pages/functions/index.adoc index 4f591652b..8111aa445 100644 --- a/modules/ROOT/pages/functions/index.adoc +++ b/modules/ROOT/pages/functions/index.adoc @@ -140,6 +140,10 @@ These functions return a single value. | `startNode(input :: RELATIONSHIP?) :: (NODE?)` | Returns the start node of a relationship. +1.1+| xref::functions/scalar.adoc#functions-timestamp[`timestamp()`] +| `timestamp() :: (INTEGER?)` +| Returns the difference, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC. + 1.3+| xref::functions/scalar.adoc#functions-toboolean[`toBoolean()`] | `toBoolean(input :: STRING?) :: (BOOLEAN?)` | Converts a string value to a boolean value. diff --git a/modules/ROOT/pages/functions/scalar.adoc b/modules/ROOT/pages/functions/scalar.adoc index 530d2170c..86040acc6 100644 --- a/modules/ROOT/pages/functions/scalar.adoc +++ b/modules/ROOT/pages/functions/scalar.adoc @@ -840,9 +840,7 @@ RETURN startNode(r) The function `timestamp()` returns the difference, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC. [NOTE] -==== -It is the equivalent of `datetime().epochMillis`. -==== +`datetime.fromEpochMillis()` is a functional equivalent to `timestamp()`. *Syntax:*