time-consts
v1.0.5
Published
Simple constants for times (all in ms)
Downloads
3
Readme
time-consts
Simple constants for times (all in ms)
Usage
const Time = require('time-consts');
console.log(Time.SECOND);
console.log(Time.MINUTE);
console.log(Time.HOUR);
console.log(Time.DAY);
console.log(Time.WEEK);
console.log(Time.FORTNIGHT);
console.log(Time.YEAR);
console.log(Time.AVERAGE_YEAR);
console.log(Time.LEAP_YEAR);
console.log(Time.AVERAGE_MONTH);
console.log(Time.JAN);
console.log(Time.FEB);
console.log(Time.FEB_LEAP);
console.log(Time.MAR);
console.log(Time.APR);
console.log(Time.MAY);
console.log(Time.JUNE);
console.log(Time.JULY);
console.log(Time.AUG);
console.log(Time.SEP);
console.log(Time.OCT);
console.log(Time.NOV);
console.log(Time.DEC);