Date dt = System.today(); Integer days = date.daysInMonth(dt.Year(), dt.Month()); System.debug('Number of days-' + days);
Get Number of Days in a Month Using Apex
Biswajeet
September 5, 2013 No Comments on Get Number of Days in a Month Using Apex