Add 1 week to date string


#1

I have a date string: 20190413 I need to add various future dates to such as 1 week or 1 month.

How can I add 1 week to this date string: 20190413 ?

Thanks…


#2

Get Millis from Instant
Then add the necessary milliseconds based on what you want, Then convert it back to a date.


#3

Thanks…