Function | Description | Example |
AddDays(DateTime, DaysCount) | Returns a date-time value that is the specified number of days from the specified DateTime. | AddDays([Date Submitted], 30) |
AddHours(DateTime, HoursCount) | Returns a date-time value that is the specified number of hours from the specified DateTime. | AddHours([StartTime], 2) |
AddMilliSeconds(DateTime, MilliSecondsCount) | Returns a date-time value that is the specified number of milliseconds from the specified DateTime. | AddMilliSeconds(([StartTime], 5000)) |
AddMinutes(DateTime, MinutesCount) | Returns a date-time value that is the specified number of minutes from the specified DateTime. | AddMinutes([StartTime], 30) |
AddMonths(DateTime, MonthsCount) | Returns a date-time value that is the specified number of months from the specified DateTime. | AddMonths([OrderDate], 1) |
AddSeconds(DateTime, SecondsCount) | Returns a date-time value that is the specified number of seconds from the specified DateTime. | AddSeconds([StartTime], 60) |
AddTicks(DateTime, TicksCount) | Returns a date-time value that is the specified number of ticks from the specified DateTime. | AddTicks([StartTime], 5000) |
AddTimeSpan(DateTime, TimeSpan) | Returns a date-time value that is from the specified DateTime for the given TimeSpan. | AddTimeSpan([StartTime], [Duration]) |
AddYears(DateTime, YearsCount) | Returns a date-time value that is the specified number of years from the specified DateTime. | AddYears([EndDate], -1) |
DateDiffDay(startDate, endDate) | Returns the number of day boundaries between two non-nullable dates. | DateDiffDay([StartTime], Now()) |
DateDiffHour(startDate, endDate) | Returns the number of hour boundaries between two non-nullable dates. | DateDiffHour([StartTime], Now()) |
DateDiffMilliSecond(startDate, endDate) | Returns the number of millisecond boundaries between two non-nullable dates. | DateDiffMilliSecond([StartTime], Now()) |
DateDiffMinute(startDate, endDate) | Returns the number of minute boundaries between two non-nullable dates. | DateDiffMinute([StartTime], Now()) |
DateDiffMonth(startDate, endDate) | Returns the number of month boundaries between two non-nullable dates. | DateDiffMonth([StartTime], Now()) |
DateDiffSecond(startDate, endDate) | Returns the number of second boundaries between two non-nullable dates. | DateDiffSecond([StartTime], Now()) |
DateDiffTick(startDate, endDate) | Returns the number of tick boundaries between two non-nullable dates. | DateDiffTick([StartTime], Now()) |
DateDiffYear(startDate, endDate) | Returns the number of year boundaries between two non-nullable dates. | DateDiffYear([StartTime], Now()) |
GetDate(DateTime) | Extracts a date from the defined DateTime. | GetDate([Date Submitted]) |
GetDay(DateTime) | Extracts a day from the defined DateTime. | GetDay([Date Submitted]) |
GetDayOfWeek(DateTime) | Extracts a day of the week from the defined DateTime. | GetDayOfWeek([Date Submitted]) |
GetDayOfYear(DateTime) | Extracts a day of the year from the defined DateTime. | GetDayOfYear([Date Submitted]) |
GetHour(DateTime) | Extracts an hour from the defined DateTime. | GetHour([StartTime]) |
GetMilliSecond(DateTime) | Extracts milliseconds from the defined DateTime. | GetMilliSecond([StartTime]) |
GetMinute(DateTime) | Extracts minutes from the defined DateTime. | GetMinute([StartTime]) |
GetMonth(DateTime) | Extracts a month from the defined DateTime. | GetMonth([StartTime]) |
GetSecond(DateTime) | Extracts seconds from the defined DateTime. | GetSecond([StartTime]) |
GetTimeOfDay(DateTime) | Extracts the time of the day from the defined DateTime in ticks. | GetTimeOfDay([StartTime]) |
GetYear(DateTime) | Extracts a year from the defined DateTime. | GetYear([StartTime]) |
IsApril(DateTime) | Returns True if the specified date falls within April. | IsApril([Date Submitted]) |
IsAugust(DateTime) | Returns True if the specified date falls within August. | IsAugust([Date Submitted]) |
IsDecember(DateTime) | Returns True if the specified date falls within December. | IsDecember([Date Submitted]) |
IsFebruary(DateTime) | Returns True if the specified date falls within February. | IsFebruary([Date Submitted]) |
IsJanuary(DateTime) | Returns True if the specified date falls within January. | IsJanuary([Date Submitted]) |
IsJuly(DateTime) | Returns True if the specified date falls within July. | IsJuly([Date Submitted]) |
IsJune(DateTime) | Returns True if the specified date falls within June. | IsJune([Date Submitted]) |
IsLastMonth(DateTime) | Returns True if the specified date falls within the previous month. | IsLastMonth([Date Submitted]) |
IsLastYear(DateTime) | Returns True if the specified date falls within the previous year. | IsLastYear([Date Submitted]) |
IsMarch(DateTime) | Returns True if the specified date falls within March. | IsMarch([Date Submitted]) |
IsMay(DateTime) | Returns True if the specified date falls within May. | IsMay([Date Submitted]) |
IsNextMonth(DateTime) | Returns True if the specified date falls within the next month. | IsNextMonth([Date Submitted]) |
IsNextYear(DateTime) | Returns True if the specified date falls within the next year. | IsNextYear([Date Submitted]) |
IsNovember(DateTime) | Returns True if the specified date falls within November. | IsNovember([Date Submitted]) |
IsOctober(DateTime) | Returns True if the specified date falls within October. | IsOctober([Date Submitted]) |
IsSameDay(DateTime) | Returns True if the specified date/time values fall within the same day. | IsSameDay([Date Submitted]) |
IsSeptember(DateTime) | Returns True if the specified date falls within September. | IsSeptember([Date Submitted]) |
IsThisMonth(DateTime) | Returns True if the specified date falls within the current month. | IsThisMonth([Date Submitted]) |
IsThisWeek(DateTime) | Returns True if the specified date falls within the current week. | IsThisWeek([Date Submitted]) |
IsYearToDate(DateTime) | Returns True if the specified date falls within the year-to-date period. This period starts from the first day of the current year and continues to the current date (including the current date). | IsYearToDate([Date Submitted]) |
IsThisYear(DateTime) | Returns True if the specified date falls within the current year. | IsThisYear([Date Submitted]) |
LocalDateTimeDayAfterTomorrow() | Returns a date-time value corresponding to the day after Tomorrow. | AddDays(LocalDateTimeDayAfterTomorrow(), 5) |
LocalDateTimeLastMonth() | Returns the DateTime value corresponding to the first day of the previous month. | AddMonths(LocalDateTimeLastMonth(), 5) |
LocalDateTimeLastWeek() | Returns a date-time value corresponding to the first day of the previous week. | AddDays(LocalDateTimeLastWeek(), 5) |
LocalDateTimeLastYear() | Returns the DateTime value corresponding to the first day of the previous year. | AddYears(LocalDateTimeLastYear(), 5) |
LocalDateTimeNextMonth() | Returns a date-time value corresponding to the first day of the next month. | AddMonths(LocalDateTimeNextMonth(), 5) |
LocalDateTimeNextWeek() | Returns a date-time value corresponding to the first day of the following week. | AddDays(LocalDateTimeNextWeek(), 5) |
LocalDateTimeNextYear() | Returns a date-time value corresponding to the first day of the following year. | AddYears(LocalDateTimeNextYear(), 5) |
LocalDateTimeNow() | Returns a date-time value corresponding to the current moment in time. | AddDays(LocalDateTimeNow(), 5) |
LocalDateTimeThisMonth() | Returns a date-time value corresponding to the first day of the current month. | AddMonths(LocalDateTimeThisMonth(), 5) |
LocalDateTimeThisWeek() | Returns a date-time value corresponding to the first day of the current week. | AddDays(LocalDateTimeThisWeek(), 5) |
LocalDateTimeThisYear() | Returns a date-time value corresponding to the first day of the current year. | AddYears(LocalDateTimeThisYear(), 5) |
LocalDateTimeToday() | Returns a date-time value corresponding to Today. | AddDays(LocalDateTimeToday(), 5) |
LocalDateTimeTomorrow() | Returns a date-time value corresponding to Tomorrow. | AddDays(LocalDateTimeTomorrow(), 5) |
LocalDateTimeTwoMonthsAway() | Returns the DateTime value corresponding to the first day of the following month. | AddMonths(LocalDateTimeTwoMonthAway(), 5) |
LocalDateTimeTwoWeeksAway() | Returns the DateTime value corresponding to the first day of the following week. | AddDays(LocalDateTimeTwoWeeksAway(), 5) |
LocalDateTimeTwoYearsAway() | Returns the DateTime value corresponding to the first day of the following year. | AddYears(LocalDateTimeTwoYearsAway(), 5) |
LocalDateTimeYearBeforeToday() | Returns the DateTime value corresponding to the day one year ago. | AddYears(LocalDateTimeYearBeforeToday(), 5) |
LocalDateTimeYesterday() | Returns a date-time value corresponding to Yesterday. | AddDays(LocalDateTimeYesterday(), 5) |
Now() | Returns the current system date and time. | AddDays(Now(), 5) |
Today() | Returns the current date. Regardless of the actual time, this function returns midnight of the current date. | AddMonths(Today(), 1) |
UtcNow() | Returns the current system date and time, expressed as Coordinated Universal Time (UTC). | AddDays(UtcNow(), 7) |