You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/templates/template-variables.md
+50Lines changed: 50 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -412,3 +412,53 @@ Min/Max:
412
412
-`ROUND(number, [places])` - Rounds a number to a specified number of decimal places. If places is omitted, it defaults to 0.
413
413
-`SUM(number1, number2, ...)` - Returns the sum of a set of numbers.
414
414
-`RAND()` - Returns a random number between 0 (inclusive) and 1 (exclusive).
415
+
416
+
### Date functions
417
+
418
+
All date functions work with ISO 8601 date strings (e.g., "2025-09-26" or "2025-09-26T12:00:00Z") and use UTC by default with optional timezone support.
419
+
420
+
#### Current time
421
+
-`NOW([timezone])` - Returns the current date and time in ISO format (e.g., "2025-09-26T12:00:00.000Z")
422
+
-`TODAY([timezone])` - Returns the current date in ISO format (e.g., "2025-09-26")
423
+
424
+
#### Date arithmetic
425
+
-`DATEADD(date, value, unit, [timezone])` - Adds/subtracts time from a date
0 commit comments