SyntaxFix
Write A Post
Hire A Developer
Questions
In Java 8 you can use:
LocalDate date = LocalDate.now(); //2020-01-12 date.withDayOfMonth(1); //2020-01-01