Calendar
DayOfYear
compute the day of the year of a given date
Calling Sequence
Parameters
Description
Examples
Compatibility
DayOfYear( d )
DayOfYear( year, month, day )
d
-
Date ; the date whose day of the year is to be computed
year
integer; the year
month
posint; the month of the year
day
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.
with⁡Calendar:
DayOfYear⁡Date⁡
68
DayOfYear⁡2000,1,1
1
DayOfYear⁡2000,12,31
366
DayOfYear⁡2100,12,31
365
DayOfYear⁡1900,12,31
DayOfYear⁡Date⁡1900,12,31
DayOfYear⁡1582,12,31
355
DayOfYear⁡1066,10,14
287
DayOfYear⁡1066,12,25
359
The Calendar[DayOfYear] command was introduced in Maple 2018.
For more information on Maple 2018 changes, see Updates in Maple 2018.
See Also
Download Help Document
What kind of issue would you like to report? (Optional)