The GetDayOfYear procedure returns the day of the year for the given date.
The GetDayOfYear procedure returns the day of the year as a numeric value (1 to 366).
day-of-year GetDayOfYear( InDate D Const Datfmt(*ISO) OPTIONS(*NOPASS) ) |
|
See also: GetDayName GetDayEx |
The return value is an integer in the range 1 to 366. The number represents the day of the year.
If the function fails, the return value is -1.