Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions modules/ROOT/pages/functions/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 1 addition & 3 deletions modules/ROOT/pages/functions/scalar.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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:*

Expand Down