0

How can I do mathematical operations with Date using just vanilla JS ?

something like : today + 2 days

const today = new Date(27/3/2020);
const DayToAdd = 2;


return today + DaytoAdd
//expected 29/3/2020
cri_pava
  • 170
  • 11

0 Answers0