Fetching the last day of the month
Note: Months are from 0 to 11. Hence the 7th month is “August”
Calendar calendar = GregorianCalendar.instance calendar.set(2009, 7, 21) println "Last Day of a Month: ${calendar.getActualMaximum(GregorianCalendar.DAY_OF_MONTH)}"Cheers!!!
~Chandan Luthra~
chandan@intelligrape.com
www.intelligrape.com
A round of applause for your blog post. Awesome.
I value the blog article.Much thanks again. Really Cool.