time-commando
v1.0.1
Published
Super simple lib for working with JavaScript dates
Downloads
1,747
Readme
time-commando
Super simple lib for working with JavaScript dates
Examples
const time = require('time-commando');
Add 5 minutes to the current date
time.D(Date.now() + time.minutes(5));
Convert current date to YYYYMMDD
time.toYYYYMMDD(new Date()); // "20241126"