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
Sudhir_MeruSudhir_Meru 

Scheduler Time Zone

Hi, 

 

  I wrote a  scheduler, I locate in India. I want to know how to set the time zone formate to schule the program to run based on user locality.  Please let me know. 

 

Thanks

Sudhir

 

 

  

Best Answer chosen by Admin (Salesforce Developers) 
simple-forcesimple-force

Hi Sudhir_Meru,

 

the scheduler runs always in the time zone of the user who has started the scheduler. 

>> The System.Schedule method uses the user's timezone for the basis of all schedules.

 

From the SFDC Apex Guide: http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_scheduler.htm

 

Christian