Difference between revisions of "Template:Date serial/doc"
Jump to navigation
Jump to search
imported>Quarl («-{{Template documentation}}») |
imported>Thetrick (Added Template:Documentation subpage) |
||
| Line 1: | Line 1: | ||
| + | {{Documentation subpage}} | ||
| + | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
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 overriden. | 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 overriden. | ||
| Line 12: | Line 14: | ||
==See Also== | ==See Also== | ||
[[:Template:Gregorian serial date]] for the number of days since 0 A.D accounting for leap years.<br> | [[:Template:Gregorian serial date]] for the number of days since 0 A.D accounting for leap years.<br> | ||
| − | [[:Template:Age in days]] for the number of days between any two dates. | + | [[:Template:Age in days]] for the number of days between any two dates.<includeonly> |
| + | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
| + | |||
| + | |||
| + | </includeonly> | ||
Revision as of 12:36, 2 July 2008
| This is a documentation subpage for Template:Date serial. It contains usage information, categories and other content that is not part of the original template page. |
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 overriden.
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
Template:Gregorian serial date for the number of days since 0 A.D accounting for leap years.
Template:Age in days for the number of days between any two dates.