Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Get the first day of the current month in Java

LocalDate now = LocalDate.now();

LocalDate firstDay = now.with(TemporalAdjusters.firstDayOfMonth());
Source by javaf1.com #
 
PREVIOUS NEXT
Tagged: #Get #day #current #month #Java
ADD COMMENT
Topic
Name
3+9 =