Date and time functions
- Last UpdatedSep 29, 2026
- 2 minute read
|
Function / Aliases |
Return |
Description |
Example |
|---|---|---|---|
|
NOW |
DateTime |
Current date and time |
{{ now }} |
|
UTC / ToUTC |
DateTime |
Converts a date and time to UTC |
{{ Now.ToUTC }} |
|
DATE / GETDATE |
Date |
Date without time info |
{{ now.date }} |
|
DATESTAMP / GETDATESTAMP |
String |
Date as yyyyMMdd |
{{ now.dateStamp }} |
|
TIMESTAMP / GETTIMESTAMP |
String |
Date timestamp as yyyyMMdd-HHmmss |
{{ now.timestamp }} |
|
DAY / DAYOFMONTH / GETDAY |
Int |
Day of month |
{{ now.day }} |
|
DAYOFYEAR |
Int |
Day of the year as a number |
{{ Now.DayofYear }} |
|
DAYOFWEEK |
String |
The name of the day of week |
{{ now.dayOfWeek }} |
|
MONTH / GETMONTH |
Int |
Returns the month part of a date |
{{ now.month }} |
|
YEAR / GETYEAR |
Int |
The Year part of the date |
{{ now.year }} |
|
TOISODATE / TOSTDDATE / TOSTANDARDDATE |
String |
Convert to ISO 8601 format |
{{ @[DateField].toStdDate('dd/MM/yyyy') }} |
|
ISOTIMESTAMP |
Convert to ISO 8601 date timestamp format |
{{ Now.isoTimestamp }} Result: 2026-05-23T20:11:14 |
|
|
STDTIMESTAMP / STANDARDTIMESTMAP |
Convert to standard date timestamp format |
{{ Now.STDTIMESTAMP }} Result: 2026-05-23 20:11:14 |
|
|
CONVERTDATE |
String |
Convert from one format to another |
{{ @[Field].convertDate('dd/MM/yyyy','MM/dd/yyyy') }} |
|
ADDDAYS |
DateTime |
Add N days to date |
{{ now.addDays(7) }} |
|
ADDMONTHS |
DateTime |
Add N months to date |
{{ now.addMonths(3) }} |
|
ADDYEARS |
DateTime |
Add N years to date |
{{ now.addYears(1) }} |
|
ISDATE |
Bool |
Returns true if the input text looks like a date |
{{ Now.isDate }} Result: true |
|
ISAFTER |
Compare one date after another |
{{ Now.adddays(1).isAfter(now)}} Result: true |
|
|
ISBEFORE |
Compare if one date is before another |
{{ Now.isBefore(now.adddays(1)) }} Result: true |
|
|
LASTDAYOFMONTH |
Return the last day of the month |
{{ Now.LASTDAYOFMONTH }} Result: 2026-05-31 00:00:00.0000000 |