FANDOM


Template documentation
Usage

This template returns the number of days between two dates. If the second set of parameters is not included it will automatically calculate the days between a given date and today. To use type:

{{date difference|month1= |day1= |year1= |month2= |day2= | year2=}}, or with unnames parameters:
{{date difference|year1|month1|day1|year2|month2|day2}} or
{{date difference|year1|month1|day1}}
Examples
  • {{date difference|2007|5|24|2008|4|23}} gives 335
  • {{date difference|2007|5|24}} gives 4,653
  • {{date difference|2009|9|7}} gives 3,816
  • {{date difference|2009|10|29}} gives 3,764

Community content is available under CC-BY-SA unless otherwise noted.