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
d3developerd3developer 

Getting Default Time Zone of an Organization

One can access an Organization's Default Time Zone follow through the following:

 

Administration Setup->Company Profile->Company Information->Default Time Zone

 

However, I cannot find it listed anywhere in the SOQL Explorer (actually I'm browsing through the Force.com IDE) .

 

How can I get this information in an APEX class?

Ivan-mIvan-m

Have the sam problemm. Any solutions?

Fred BFred B
You can query the time zone using the follow SOQL.
Your apex class will need to be using v43 or higher for this to work.
 
SELECT Id, TimeZoneSidKey FROM Organization

 
Phu Bui 8Phu Bui 8

@Fred B, "...v43...."

You save my day.