BM - Beginning of Month #
Beginning of Month (BM) will return the 1st day of the month of the date found in Operand 2.
- Statement
- Find the 1st day of the month that the employee was hired and store it into the Variable 1st of Hire Month.
Line | CMD | OT | Operand 1 | OPER | OT | Operand2 | OT | Operand3 | If Goto | Else GoTo |
---|---|---|---|---|---|---|---|---|---|---|
00010 | LET | V | 1ST OF HIRE MONTH | BM | DB | EEM.HIRE_DATE | 00020 |
In the example above, if an employee was originally hired on May 17, 1979, the value returned to 1st of Hire Month would be May 1, 1979.
As with BD, the BM result may also be changed by a value in Operand 3. Refer to BD for possible Operand 3 values.