Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Get the last Friday of a month in Java

LocalDate now = LocalDate.now();

LocalDate lastFriday = now.with(TemporalAdjusters.lastInMonth(DayOfWeek.FRIDAY));
Source by javaf1.com #
 
PREVIOUS NEXT
Tagged: #Get #Friday #month #Java
ADD COMMENT
Topic
Name
8+8 =