Home > Expression Operators > Date Operators > #LSTBUSDAY

#LSTBUSDAY

This operator returns the last business day, as a date, of the period containing the date evaluated. It does not take holidays into consideration.

Syntax:

a #LSTBUSDAY b

Where a is the period that is evaluated for the last business day. a can have the following arguments

0 = anniversary year*

1 = calendar year

2 = plan year

3 = semi-calendar year

4 = semi-plan year

5 = calendar year quarter

6 = plan year quarter

7 = month

26 = bi-weekly*

52 = weekly*

*only available in a service or salary transformation expression when the measurement period of the Service or Salary Definition matches.

 

Example:

7 #LSTBUSDAY 11/18/1986 equals 11/28/1986