milli-epoch
Utility module for epoch based time functions in milliseconds
Installation
$ npm install milli-epoch
Simple Usage
code example:
var milli-epoch = ; var now = milli-epoch;var then = milli-epoch;var date = then; console;console;
Functions
- now
- addMinutes
- addSeconds
- addDays
- subtractDays
- subtractMinutes
- addYears
- isInFuture
- isInPast
- getMillisecondsSince
- getSecondsSince
- getMinutesSince
- getHoursSince
- getDaysSince
- getYearsSince
- getMinDate
- getMaxDate
- fromEpoch
- toEpoch
- getEpochBeforeMinutes