Skip to content

Commit 2542390

Browse files
add epocmillis tags
1 parent 6780a55 commit 2542390

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

modules/ROOT/pages/functions/temporal/index.adoc

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1326,11 +1326,13 @@ RETURN datetime({epochMillis: 424797300000}) AS theDate
13261326
======
13271327
13281328
.Query
1329+
// tag::functions_temporal_datetime_fromepoch
13291330
[source, cypher]
13301331
----
1331-
WITH datetime.fromepoch(1683000000, 123456789) AS dateTimeFromEpoch
1332+
WITH datetime.fromEpoch(1683000000, 123456789) AS dateTimeFromEpoch
13321333
RETURN dateTimeFromEpoch
13331334
----
1335+
// end::functions_temporal_datetime_fromepoch
13341336
13351337
.Result
13361338
[role="queryresult",options="header,footer",cols="1*<m"]
@@ -1359,11 +1361,13 @@ RETURN dateTimeFromEpoch
13591361
======
13601362
13611363
.Query
1364+
// tag::functions_temporal_datetime_fromepochmillis
13621365
[source, cypher]
13631366
----
1364-
WITH datetime.fromepochmillis(1724198400000) AS dateTimeFromMillis
1367+
WITH datetime.fromEpochMillis(1724198400000) AS dateTimeFromMillis
13651368
RETURN dateTimeFromMillis
13661369
----
1370+
// end::functions_temporal_datetime_fromepochmillis
13671371
13681372
.Result
13691373
[role="queryresult",options="header,footer",cols="1*<m"]
@@ -1792,6 +1796,7 @@ RETURN
17921796
======
17931797
17941798
.Query
1799+
// tag::functions_temporal_localdatetime[]
17951800
[source, cypher]
17961801
----
17971802
RETURN
@@ -1800,6 +1805,7 @@ RETURN
18001805
hour: 12, minute: 31, second: 14, microsecond: 645876
18011806
}) AS theDate
18021807
----
1808+
// end::functions_temporal_localdatetime[]
18031809
18041810
.Result
18051811
[role="queryresult",options="header,footer",cols="1*<m"]

0 commit comments

Comments
 (0)