Template:Orddate
Appearance
360
Finds the ordinal date within a year.
- Example
- {{
orddate|2024|12|25
}} gives 360 - Check the result at tycho.usno.navy.mil after this page.
- Examples for 15-MAR-2007 and 15-MAR-2008 (leap year)
- {{
Orddate|2007|03|15
}} = 74 - {{
Orddate|2008|03|15
}} = 75 - Optional substitution works if all three variables are specified
- {{ subst:orddate|year|month|day|subst=subst:}}