How to make addMonth('2022-02-28', 1) to be '2022-03-31'? #36288
Alex-Cheng
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want a new function which would add month to the date of last day of a month, resulting a date which is also the last day of a month. E.g. addMonth('2022-02-08', 1) returns '2022-03-31'.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions