Skip to content

Takes a Date object and returns a Date object representing the next calendar day, set to midnight local time.

Notifications You must be signed in to change notification settings

rossb/get-next-date

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);

About

Takes a Date object and returns a Date object representing the next calendar day, set to midnight local time.

Resources

Stars

Watchers

Forks

Packages