function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rajat BurmanRajat Burman 

how to change my datatime format to January 8, 2018 format

Hi Experts,  
I am pulling and assigning the date value like the below code. 
for(Application__c AppRound : AppRoundData) {
Date uploadFinanceSponsor =  AppRound.Application_Round__r.Deadline_for_Uploading_Finances_Sponsors__c;
I need to change the date to January 8, 2018 format.
v varaprasadv varaprasad
Hi Rajat,

Please check sample code below:
string st = AppRound.Application_Round__r.Deadline_for_Uploading_Finances_Sponsors__c.format('MMM d, yyyy');

More info :

Hope this helps you!

For Support:

Rajat BurmanRajat Burman
Thanks, Varaprasad.