Template:Days from now

From FlightGear wiki
Jump to navigation Jump to search


The following template description is not displayed when the template is inserted in an article.

Usage

This template will return a number in days if the date given is less than 60 days away; otherwise, it will return a number in months, so that it does not return large numbers of days that are probably not very useful, which can sometimes be in the thousands.

{{days from now|2022|1|1}}

produces

5 months