Template:dayssince
From Homestar Runner Wiki
(Difference between revisions)
It's dot com (Talk | contribs) (rm instruction that doesn't apply) |
(+cat) |
||
| Line 21: | Line 21: | ||
| <code><nowiki>{{dayssince| 1985 }}</nowiki></code> || {{dayssince| 1985 }} | | <code><nowiki>{{dayssince| 1985 }}</nowiki></code> || {{dayssince| 1985 }} | ||
|} | |} | ||
| + | |||
| + | [[Category:Formatting Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> | ||
Revision as of 03:28, 2 September 2009
Outputs the number of days since a specified date (after 1 January 1970). If only a month or year is specified, the function evaluates from the first of the month or year, respectively.
Usage
{{dayssince| some date }}
Examples
{{dayssince| 15 Nov 2008 }} | 6504 |
{{dayssince| January 1, 2009 }} | 6457 |
{{dayssince| 5/29/95 }} | 11423 |
{{dayssince| March 2009 }} | 6398 |
{{dayssince| 1985 }} | 14975 |
