DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
1+2 =
Submit