Logo

Programming-Idioms

History of Idiom 184 > diff from v4 to v5

Edit summary for version 5 by muthuishere:
New Java implementation by user [muthuishere]

Version 4

2019-08-10, 20:41:02

Version 5

2019-08-31, 05:54:32

Idiom #184 Tomorrow

Assign to variable t a string representing the day, month and year of the day after the current date.

Idiom #184 Tomorrow

Assign to variable t a string representing the day, month and year of the day after the current date.

Imports
java.time.LocalDate
Code
LocalDate tomorrow = LocalDate.now().plusDays(1)
Comments bubble
Java 8