Template:Digit time between/doc

From MattWiki
Jump to navigation Jump to search

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}} = 15018339.283333
{{Digit_time_between|magnitude=minutes}} = 0

See also