0

I have date in this format below.

2022-12-30 (string format)

I need to add days to the date. For example, if I add 1, the output should be 2022-12-31. And if I add 3, the output should be 2023-01-02. Is there any functions/algorithm in javascript that helps resolve this question?

Thanks

Jongpil
  • 15
  • 3

0 Answers0