INTEGER-OF-DATE
The INTEGER-OF-DATE function converts a date into a gregorian number.
Syntax 1
function integer-of-date (arg-1) |
Syntax 2
Arguments
• arg-1 must be a numeric data item or literal and must specify a date in the format YYYYMMDD.
Result
The function returns a number that is the gregorian value corresponding to arg-1.
Examples
Example - Display the gregorian value corresponding to the date 1st January 2017.
display function integer-of-date(20170101). |