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
Vishal_ThoriyaVishal_Thoriya 

DateTime format Query

When we try to format some datetime using DateTime.format(dateTime,'EST'). Does it observes the daylight-time or not?
I mean does salesforce format the datetime as per EDT if EDT is running?

GunnarGunnar
In California which has Daylight saving time, Salesforce observes it (GMT-7) or (GMT-8), depending.
Where there is no daylight saving time, salesforce observes that too.