Skip to content

Commit da5e1a3

Browse files
standardise
1 parent ed83eb4 commit da5e1a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/ROOT/pages/expressions/temporal-operators.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ For additional expressions that evaluate to a xref:values-and-types/temporal.ado
6767
`DURATION` values can be added and subtracted from temporal instant values, such as `LOCAL DATETIME`.
6868
In the below example, the xref:functions/temporal/index.adoc#functions-localdatetime[`localdatetime()`] function is used to create a `LOCAL DATETIME` value, and the xref:functions/temporal/duration.adoc#functions-durations[`duration()`] function is used to create a `DURATION` value.
6969

70-
.Add and subtract a `DURATION` value
70+
.Add and subtract a `DURATION` value to/from a `LOCAL DATETIME`
7171
[source, cypher]
7272
----
7373
WITH localdatetime({year:1984, month:10, day:11, hour:12, minute:31, second:14}) AS aDateTime,
@@ -135,7 +135,7 @@ When adding or subtracting a `DURATION` value to a temporal instant value, any x
135135
For example, when adding a `DURATION` to a `DATE`, only the `year`, `month`, and `day` components of a `DURATION` value are considered, while `hour`, `minute`, `second`, and `nanosecond` are ignored.
136136
This behavior also applies to `LOCAL TIME` and `ZONED TIME`.
137137

138-
.Adding and subtracting a `DURATION` to/from a `DATE`
138+
.Add and subtract a `DURATION` to/from a `DATE`
139139
[source, cypher]
140140
----
141141
WITH date({year:1984, month:10, day:11}) AS aDate,
@@ -161,7 +161,7 @@ In multiplication, the value of each component is multiplied by the given factor
161161
If the result of the division does not fit into the original components, it overflows into smaller components (e.g. converting days into hours).
162162
This overflow also occurs when multiplying with fractions.
163163

164-
.Multiplying and dividing a `DURATION` value
164+
.Multiply and divide a `DURATION` value
165165
[source, cypher]
166166
----
167167
WITH duration({days: 14, minutes: 12, seconds: 70, nanoseconds: 1}) AS aDuration

0 commit comments

Comments
 (0)