DEV Community

Discussion on: 3 Efficient ways to get tomorrow date using javascript

Collapse
 
aisone profile image
Aaron Gong

Hi,

You should avoid using Moment JS it is huge...

Date-fns or other libraries have maintenance costs if there is (major) version change

Vanilla JS getDate and setDate would suffice and you can vary the days, forward or back