Skip to main content



Date Templates

Date templates are used to manipulate dates and datetime fields.

Template nameTemplate formatReturn type
current daycurrent dayinteger
current hourcurrent hourinteger
current millisecondcurrent millisecondinteger
current minutecurrent minuteinteger
current monthcurrent monthinteger
current secondcurrent secondinteger
current yearcurrent yearinteger
day fromday from <date or datetime>integer
day of the month fromday of the month from <date or datetime>integer
day of the week fromday of the week from <date or datetime>integer
day of the year fromday of the year from <date or datetime>integer
days betweendays between <date or datetime> and <date or datetime>integer
weekdays betweenweekdays between <date or datetime> and <date or datetime>integer
get local datetime fromget local datetime from <datetime>datetime value having a local kind
get unspecified datetime fromget unspecified datetime from <datetime>datetime value having a unspecified kind
get UTC datetime fromget UTC datetime from <datetime>datetime value having a UTC kind
hours fromhour from < datetime>integer
h ours betweenhours between <datetime> and <datetime>integer
millisecond frommillisecond from <datetime>integer
milliseconds betweenmilliseconds between <datetime> and <datetime>integer
minute fromminute from < datetime>integer
minutes betweenminutes between <datetime> and <datetime>integer
month frommonth from <date or datetime>integer
months betweenmonths between <date or datetime> and <date or datetime>integer
nownowdatetime
number of days in the month fromnumber of days in the month from <date>integer
number of days in the year fromnumber of days in the year frominteger
second fromsecond from < datetime >integer
seconds betweenseconds between <datetime> andinteger
-<datetime>-
todaytodaydate
tommorrowtommorrowdate
year fromyear from <date>integer
years betweenyears between <date> and <date>integer
yesterdayyesterdaydate
is a leap year<datetime> is a leap yearBoolean
is a local datetime<datetime> is a local datetimeBoolean
is a week day<datetime> is a week dayBoolean
is an unspecified datetime<datetime> is an unspecified datetimeBoolean
is an UTC datetime<datetime> is an UTC datetimeBoolean
is on a week end<datetime> is on a week endBoolean
minus<datetime> minus <timespan>-
plus<datetime> plus <timespan>-
plus<date or datetime> plus <integer> weekday sdate or datetime
i s a date<text> is a dateBoolean
is a datetime<text> is a datetimeBoolean