Template:YEARDAYS: Difference between revisions
Appearance
w>GTrang m GeoffreyT2000 moved page Template:Days in year to Template:YEARDAYS: For consistency with Template:MONTHDAYS, which was merged from Template:Days in month. |
m 1 revision imported |
||
(No difference)
| |||
Latest revision as of 13:40, 19 January 2026
365
This template tells you how many days are in a given year (365 or 366). If no parameters are passed, the current year is assumed. For years in the BC era, count back from 1 BC starting with zero (i.e. 1 BC is 0, 2 BC is -1, etc.) For more information on the calculation of what is and is not a leap year, see Template:IsLeapYear.
This template is substitutable.
- Syntax
{{YEARDAYS}}(days in current year){{YEARDAYS|year}}(days in given year){{subst:YEARDAYS}}(substitute days in current year){{subst:YEARDAYS|year}}(substitute days in given year)
- Examples