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
tony2009tony2009 

How to calculate the local time based on the time zone

Hi Guys,

 

I am doing a project related to the multiple timezone.  Currently I am using the salesforce time zone to calculate the local time.

 

for exmaple : 

(GMT+10:00) Australian Eastern Standard Time (Australia/Sydney) (default timezone in our org). 

(GMT+08:00) Australian Western Standard Time (Australia/Perth)

 

If the Sydney time is 11:00 am, it is 9:00 am in Perth.

 

The problem is the daylight saving time.

 

Will the time zone become to  (GMT+11:00) automatically or not ? If not, how do I calculate the local time for Perth?

 

 

 

Thanks in advance

 

 

 

 

ssoftwaressoftware

The following App on AppExchange may help you.

 

https://appexchange.salesforce.com/listingDetail?listingId=a0N300000055lg8EAA

 

Kind Regards

Success Software