Jump to content

Template:Date from ordinal/doc: Difference between revisions

From NicheWork
w>Vanisaac
m top: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other
 
m 1 revision imported
 
(No difference)

Latest revision as of 13:40, 19 January 2026

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.