You could call static methods day, year and month on Date class to get 25,2010 and Nov. To get the suffix "th", you could call an Apex method that will perform processing something like -
if((day ==1) or (day == 21) or (day ==31)) return 'st';
You could call static methods day, year and month on Date class to get 25,2010 and Nov. To get the suffix "th", you could call an Apex method that will perform processing something like -
if((day ==1) or (day == 21) or (day ==31)) return 'st';
You could call static methods day, year and month on Date class to get 25,2010 and Nov. To get the suffix "th", you could call an Apex method that will perform processing something like -
if((day ==1) or (day == 21) or (day ==31)) return 'st';
elseif ((day ==2) or (day == 22)) return 'nd';
elseif ((day ==3) or (day == 23)) return 'rd';
else return 'th';
All Answers
You could call static methods day, year and month on Date class to get 25,2010 and Nov. To get the suffix "th", you could call an Apex method that will perform processing something like -
if((day ==1) or (day == 21) or (day ==31)) return 'st';
elseif ((day ==2) or (day == 22)) return 'nd';
elseif ((day ==3) or (day == 23)) return 'rd';
else return 'th';
Thanks for your help.Its working nw