Template:Digit time between

From MattWiki
Jump to navigation Jump to search

0

Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

{{Digit_time_between|start=timestamp|end=timestamp|magnitude=units}}
Start and end timestamps default to current time in UTC.
Magnitude defaults to days.



{{Digit_time_between|start=Jan 1, 1990 2:45 AM|end=Jan 1, 1990 2:44:23 AM|magnitude=minutes}} = 0.61666666666667
{{Digit_time_between|end=Jan 1, 1990 2:44:23 AM|magnitude=minutes}} = 14977480.5
{{Digit_time_between|magnitude=minutes}} = 0

See also