Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Get the first Monday of a month in Java

LocalDate now = LocalDate.now();

LocalDate firstMonday = now.with(TemporalAdjusters.firstInMonth(DayOfWeek.MONDAY));
Source by javaf1.com #
 
PREVIOUS NEXT
Tagged: #Get #Monday #month #Java
ADD COMMENT
Topic
Name
1+6 =