Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

get last day of month java

Calendar cal = Calendar.getInstance();
cal.set(Calendar.DATE, cal.getActualMaximum(Calendar.DATE));
Date lastDayOfMonth = cal.getTime();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #day #month #java
ADD COMMENT
Topic
Name
2+1 =