Template:Date from ordinal/doc
Appearance
This is a documentation subpage for Template:Date from ordinal. It may contain usage information, categories and other content that is not part of the original template page. |
This template returns the date (month name and day of month) from a day number in a year.
- Syntax:
- {{Date from ordinal|day of year}}
- {{Date from ordinal|day of year|year}}
- {{Date from ordinal|day of year|leapyear=isleap}}
- The year parameter is optional. If specified the date serial is handled for that specific year (leapyear is then ignored).
- The leapyear parameter (optional, default 0 unless you specify year) is non-zero if you're working in a leap year.