You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
450 B
20 lines
450 B
1 year ago
|
'use strict';
|
||
|
|
||
|
var HoursPerDay = 24;
|
||
|
var MinutesPerHour = 60;
|
||
|
var SecondsPerMinute = 60;
|
||
|
var msPerSecond = 1e3;
|
||
|
var msPerMinute = msPerSecond * SecondsPerMinute;
|
||
|
var msPerHour = msPerMinute * MinutesPerHour;
|
||
|
var msPerDay = 86400000;
|
||
|
|
||
|
module.exports = {
|
||
|
HoursPerDay: HoursPerDay,
|
||
|
MinutesPerHour: MinutesPerHour,
|
||
|
SecondsPerMinute: SecondsPerMinute,
|
||
|
msPerSecond: msPerSecond,
|
||
|
msPerMinute: msPerMinute,
|
||
|
msPerHour: msPerHour,
|
||
|
msPerDay: msPerDay
|
||
|
};
|