Monday, November 1, 2021

LocalDate

To set a LocalDate with today's date we can use the following:

LocalDate.of(2021, 10, 30)

The above allows us to set a date, any date. There's another way to set a date using LocalDate.

LocalDateTime ldt = LocalDateTime.now();

No comments:

Post a Comment

Thinking

 There are days that are better than others. I find myself looking forward to the good days ahead and not the bad days behind me. The bad da...