Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Previous revision
last_day_of_month [2015/03/25 08:32]
last_day_of_month [2021/04/05 14:04] (current)
mihael
Line 1: Line 1:
 +====== Calculate Last Day of Month ======
  
 +<sxh java>
 +GregorianCalendar calendar = new GregorianCalendar();
 +calendar.set(Calendar.DAY_OF_MONTH, calendar.getActualMaximum(Calendar.DAY_OF_MONTH));
 +</sxh>
 +
 +{{tag>java}}