This page (revision-4) 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
4 26-Nov-2021 10:22 1 KB JMyers to previous
3 26-Nov-2021 10:22 1001 bytes JMyers to previous | to last
2 26-Nov-2021 10:22 980 bytes JMyers to previous | to last
1 26-Nov-2021 10:22 967 bytes JMyers to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 changed one line
DBT - Days Between
!!DBT - Days Between
At line 3 removed 5 lines
The number of months will be expressed as a fractional number.
Statement: Find the number of days that have passed since the beginning of the year, store it into Variable Day of Year.
Line CMD OT Operand 1 OPER OT Operand2 OT Operand3 If Goto Else GoTo
00010 LET V BEGINNING OF YEAR BY $S PERIOD-END-DATE 00020
00020 LET V DAY OF YEAR DBT V BEGINNING OF YEAR $S PERIOD-END-DATE 00030
At line 9 changed one line
Line 00010 calculates the first date of the year that the pay period end date falls. If the pay ends on February 18, 2000, the result in Beginning of Year operand is the date 01 Jan 2000. Line 00020 then calculates how many days there are between 01 Jan 2000 and 18 Feb 2000 (48).
The number of months will be expressed as a fractional number.
;Statement: Find the number of days that have passed since the beginning of the year, store it into Variable Day of Year.
||Line||CMD||OT||Operand 1||OPER||OT||Operand2||OT||Operand3||If Goto|| Else GoTo
|00010| LET|V| BEGINNING OF YEAR| BY| $S| PERIOD-END-DATE| | |00020|
|00020| LET|V|DAY OF YEAR|DBT|V|BEGINNING OF YEAR|$S|PERIOD-END-DATE|00030|
Line 00010 calculates the first date of the year that the pay period end date falls. If the pay ends on February 18, 2000, the result in [Beginning of Year|BY_OPERATOR] operand is the date 01 Jan 2000. Line 00020 then calculates how many days there are between 01 Jan 2000 and 18 Feb 2000 (48).
----
![Notes|Edit:Internal.DBT_OPERATOR]
[{InsertPage page='Internal.DBT_OPERATOR' default='Click to create a new notes page'}]