@jacobhumston/tc.js / conversions
constconversions:object
Defined in: conversions.ts:5
Conversions, based on the amount of microseconds in x. Note that the month conversion and beyond is an approximation.
centuries:
number=3.1556952e15
The amount of microseconds in a century.
days:
number=8.64e10
The amount of microseconds in a day.
decades:
number=3.1556952e14
The amount of microseconds in a decade.
hours:
number=3.6e9
The amount of microseconds in an hour.
microseconds:
number=1
The amount of microseconds in a microsecond. (Base value, so 1 of course.)
milliseconds:
number=1000
The amount of microseconds in a millisecond.
minutes:
number=6e7
The amount of microseconds in a minute.
months:
number=2.629746e12
The amount of microseconds in a month.
seconds:
number=1e6
The amount of microseconds in a second.
weeks:
number=6.048e11
The amount of microseconds in a week.
years:
number=3.1556952e13
The amount of microseconds in a year.