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
Ravichandra yerubandiRavichandra yerubandi 

how to convert Tue Jun 16 00:00:00 GMT 2020 format to 6/9/2020 format

can any help?
Hi Ravichandra,
System.debug('Date-->>> ' +;

Try using this.
Ravichandra yerubandiRavichandra yerubandi
Hi chanchal
Tue Jun 16 00:00:00 GMT 2020  is in string format  how to convert into date like 6/9/2020
Fatima WeiseFatima Weise
Hello, I also want to know how to convert Tue Jul 14 00:00:00 GMT 2021 format to the 7/14/2021 format and for that I am searching for it everywhere but can't find its code anywhere. I was looking for the best writing tricks to write an essay and found link. As well as, I have found the post to your link on google search and I was so happy after reading Chanchal's message because in here post, I have found code.