Template:Date from ordinal

From MattWiki
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]

This template returns the date (month name and day of month) from a day number in a year.

{{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.

es:Plantilla:Date from ordinal