get-next-date
v1.0.0
Published
Takes a Date object and returns a Date object representing the next calendar day, set to midnight local time.
Downloads
10
Readme
get-next-date
Takes a Date object and returns a Date object representing the next calendar day, set to midnight local time.
Install
$ npm install get-next-date --save
Usage
const GetNextDate = require('get-next-date');
let currentTime = new Date();
let tomorrow = GetNextDate(currentTime);