Reference > Expressions > Built-in Functions > Date Functions

Date Functions

For HEAT Release 2014.3, we have added several date functions. Many of these new functions are similar to current functions but their names have been changed to better identify their purpose.

The following are the new date functions added in HEAT Release 2014.3:

Functions that add a specified interval:

Functions that return the beginning of a period:

Functions that return the end of a period:

 

Starting in HEAT Release 2015.1, the following date functions will be deprecated. However, their functionality has not been removed, rather, it has been moved to a different function:

AddDays

AddHours

Add Minutes

AddMonths

AddQuarters

AddWeeks

AddYears

BeginningOfDay

BeginningOfHour

BeginningOfMinute

BeginningOfMonth

BeginningOfQuarter

BeginningOfWeek

BeginningOfYear

CurrentDate

CurrentDateStr

CurrentDateTime

DateAdd

DateDiff

DatePart

EndOfDay

EndOfHour

EndOfMinute

EndOfMonth

EndOfNextYear

EndOfQuarter

EndOfThisMonth

EndOfThisYear

EndOfWeek

EndOfYear

FormatDate

Last3Months

Last90Days

Last365Days

LastDays

LastSevenDays

LastThirtyDays

LastWeeks

LastYears

NextDays

NextSevenDays

SecondsToTime

StartOfNextYear

StartOfPreviousMonth

StartOfThisMonth

StartOfThisYear

ToClientTime

Today

Tomorrow

Yesterday