Difference between revisions of "Template:Age in days Unix"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
(new template)
 
(fix example)
 
Line 6: Line 6:


Examples:
Examples:
*<nowiki>{{age in days Unix|1|31536000}}</nowiki> gives {{age in days Unix|2007|5|24|2008|4|23}}</noinclude>
*<nowiki>{{age in days Unix|1|31536000}}</nowiki> gives {{age in days Unix|1|31536000}}</noinclude>

Latest revision as of 10:23, 20 December 2020

Usage

This template returns the number of days between two given Unix timestamps. To use type:

{{age in days Unix|time1= |time2=}}, or with unnamed parameters:
{{age in days Unix|time1|time2}}

Examples:

  • {{age in days Unix|1|31536000}} gives 364