The Wiki for Tale 6 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.
If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.
Template:Age in days
From ATITD6
Jump to navigationJump to searchUsage
Inputting dates
This template returns the number of days between two dates. Dates may be input either as full dates or as year, month and day. Omitted parameters to their current value.
Full dates
To use, type:
{{age in days|date1|date2}}
(number of days between dates 1 and 2), {{age in days|date1}}
(number of days since date 1) or {{age in days||date2}}
(number of day until date 2)
Examples:
{{age in days|19 Aug 2008|4 Sep 2010}}
gives 746 {{age in days|27 May 2002}}
gives 8,214 {{age in days|2002-05-27}}
gives 8,214 {{age in days|05/27/2002}}
gives 8,214 {{age in days||{{#time:j M Y|+ 15 months}}}}
gives 456
Rounding
The template rounds down to the nearest number of full days.
Time zones
Date parameters left undefined default to their current value. Note that this is the current UTC value.