Template:Date serial/doc

From blackwiki
Jump to navigation Jump to search

This template returns the date serial in year for a date specified by month number and day of month. By default the year is considered non leap, but this may be overridden.

See discussion page for working examples!

Syntax:
{{Date serial|month number|day of month}}
{{Date serial|month number|day of month|year}}
{{Date serial|month number|day of month|leapyear=is leap}}
  • The year parameter is optional, if specified, the named leapyear parameter is ignored.
  • The named leapyear parameter (optional, default value 0, unless year is specified) is non-zero to get the proper date serial on dates starting at March 1st on leap years.

See also