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.
LineCMDOTOperand 1OPEROTOperand2OTOperand3If Goto Else GoTo
00010LETV1ST OF HIRE MONTHBMDBEEM.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.


Notes #

Click to create a new notes page