compute the day of the year of a given date
DayOfYear( d )
DayOfYear( year, month, day )
Date ; the date whose day of the year is to be computed
integer; the year
posint; the month of the year
posint; the day of the month
The DayOfYear( d ) command computes the day of the year of the Date object d.
The DayOfYear( year, month, day ) command computes the day of the year for the day-th day of the month month (1..12) in the year year.
The day of the year of January 1 is equal to 1. The last day of the year (December 31) is usually either 365, for an ordinary year, or 366 for a leap year.
The Calendar[DayOfYear] command was introduced in Maple 2018.
For more information on Maple 2018 changes, see Updates in Maple 2018.
Download Help Document