Get tomorrow's date today!

This example adds a user selected number of days to the current date and returns this new date. The trick is to use the getTime() function as the parameter passed to the Date() constructor. Entering a negative number will subtract days from the current date. Entering fractional days (i.e. 1.5) will affect the time as well as the date.

Days   

You can copy the page html from the textarea below and save it to your local system.