Add 1 week to date string


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 ?



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