Get the month name using Apex #inSalesforce
DateTime dt = DateTime.now();
String theMonthName = dt.format('MMMMM');
System.debug('The Month Name : ' + theMonthName);
String theMonthName = dt.format('MMMMM');
System.debug('The Month Name : ' + theMonthName);
Comments
Post a Comment