Skip to content

Commit

Permalink
Adding link for more datetime function info (#443)
Browse files Browse the repository at this point in the history
* Adding link for more datetime function info

* Update modules/ROOT/pages/cypher-intro/dates-datetimes-durations.adoc

Co-authored-by: Jens Pryce-Åklundh <[email protected]>

---------

Co-authored-by: Jens Pryce-Åklundh <[email protected]>
  • Loading branch information
lidiazuin and JPryce-Aklundh authored Jan 23, 2025
1 parent 72aa631 commit 7951805
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ However, that query results in the following output: _no changes, no records_.

If we want to compare durations we need to do that comparison by adding those durations to dates.
We don’t really care about dates for our query so we’ll just use the current time to work around this issue.
We can get the current time by calling the datetime() function.
We can get the current time by calling the link:{neo4j-docs-base-uri}/cypher-manual/current/functions/temporal/#functions-datetime[`datetime()` function].

Our updated query reads like this:

Expand Down

0 comments on commit 7951805

Please sign in to comment.