Get the month name using Apex #inSalesforce

Get the month name using Apex #inSalesforce

DateTime dt = DateTime.now();
String theMonthName = dt.format('MMMMM');
System.debug('The Month Name : ' + theMonthName);


Comments