DEV Community

Add days to a Date in vanilla JavaScript

Hugo Di Francesco on April 15, 2019

Despite the JavaScript Date warts, it’s straightforward to add days to a date in JavaScript. While it would be very easy to reach for moment.js or...
Collapse
 
saigkill profile image
Sascha Manns

Hi Hugo. Thanks for sharing this stuff. I'm everytime interested to see Vanilla stuff.

Collapse
 
hugo__df profile image
Hugo Di Francesco

Glad to hear that, I run a JS best-practices etc newsletter at buttondown.email/hugo

Collapse
 
saigkill profile image
Sascha Manns

Subscribed :-)