This page (revision-5) was last changed on 26-Nov-2021 10:22 by JMyers

This page was created on 26-Nov-2021 10:22 by JMyers

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
5 26-Nov-2021 10:22 853 bytes JMyers to previous
4 26-Nov-2021 10:22 922 bytes JMyers to previous | to last
3 26-Nov-2021 10:22 723 bytes JMyers to previous | to last
2 26-Nov-2021 10:22 706 bytes JMyers to previous | to last
1 26-Nov-2021 10:22 693 bytes JMyers to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 changed 5 lines
EM - End of Month
End of Month (EM) will return the last day of the month of the date found in Operand 3.
Statement: Find the 1st day of the month following the employee’s hire date, and store it into the Variable 1st Day of Next Mth.
Line CMD OT Operand 1 OPER OT Operand2 OT Operand3 If Goto Else GoTo
00010 LET V 1ST DAY OF NEXT MTH EM DB EEM.HIRE_DATE A +1D 00020
!!EM - End of Month
At line 7 changed 2 lines
In the example above, the employee was originally hired on May 17, 1979. The EM operator will identify the last day of that month, May 31, 1979. Operand 3 will add one day to the EM date and return the value of the 1st Day of Next Mth, June 1st, 1979.
Refer to BD in page 56 for possible Operand 3 values.
End of Month (EM) will return the last day of the month of the date found in Operand 2.
;Statement:Find the 1st day of the month following the employee’s hire date, and store it into the Variable 1st Day of Next Mth.
||Line||CMD||OT||Operand 1||OPER||OT||Operand2||OT||Operand3||If Goto|| Else GoTo
|00010| LET|V|1ST DAY OF NEXT MTH|EM|DB|EEM.HIRE_DATE|A|+1D|00020|
In the example above, the employee was originally hired on May 17, 1979. The EM operator will identify the last day of that month, May 31, 1979. Operand 3 will add one day to the EM date and return the value of the 1st Day of Next Mth, June 1st, 1979.
Refer to [BD|BD_OPERATOR] for possible Operand 3 values.
----
![Notes|Edit:Internal.EM_OPERATOR]
[{InsertPage page='Internal.EM_OPERATOR' default='Click to create a new notes page'}]