I want to modify LocalDateTime.now() by adding a certain amount of minutes to it. How do I do that?
LocalDateTime.now()
If you are using java 8 then you can still use the same syntax
LocalDateTime fiveMinutesLater = LocalDateTime.now().plusMinutes(5)
2.1m questions
2.1m answers
60 comments
57.0k users