Template:dayssince
From Homestar Runner Wiki
(Difference between revisions)
It's dot com (Talk | contribs) (rm instruction that doesn't apply) |
(use new cat) |
||
| (includes 1 intermediate revision) | |||
| Line 21: | Line 21: | ||
| <code><nowiki>{{dayssince| 1985 }}</nowiki></code> || {{dayssince| 1985 }} | | <code><nowiki>{{dayssince| 1985 }}</nowiki></code> || {{dayssince| 1985 }} | ||
|} | |} | ||
| + | |||
| + | [[Category:Date and Time Formatting Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> | ||
Current revision as of 17:34, 25 November 2017
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.
[edit] Usage
{{dayssince| some date }}
[edit] Examples
{{dayssince| 15 Nov 2008 }} | 6319 |
{{dayssince| January 1, 2009 }} | 6272 |
{{dayssince| 5/29/95 }} | 11238 |
{{dayssince| March 2009 }} | 6213 |
{{dayssince| 1985 }} | 14975 |
