We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 252b95e commit cdb64d2Copy full SHA for cdb64d2
1 file changed
src/documentation/language/datatypes.malloynb
@@ -126,6 +126,15 @@ Ranges may be used in conjunction with the [apply operator](apply.malloynb) to t
126
127
In the future, other ranges may be allowed, such as `string` ranges.
128
129
+### Duration
130
+
131
+Durations can be added to timestamps and dates.
132
133
+* `@2001-02-03 04:05 + 5 minutes`
134
+* `@2001-02-03 04:05 + myHours hours`
135
+* `@2021-01-01 + 5 weeks`
136
+* `@0000-01-01 + myYear years + (daysIntoMyYear - 1) days`
137
138
### Alternations and Partials
139
140
_Partials_ represent a "part of" a comparison.
0 commit comments