Dear Friends,
I seek help in handling a scenario where we have API fields such as
Our requirement is to display the event in local time.
Based on above example; if the event in Korea starts at 11:00; then the display time in Swiss must be 04:00.
We were using the timezone field from API and using the UTC offset in javascript to calculate the local time. However, this does not handle the day light savings case.
For this the source has added a new field UTCDateTime that will always store the event time in UTC time and requires us to use this field to display the local time correctly irrespective of day light savings ON/OFF.
Please help us with a logic to deal with this.
regards
Our community of experts have been thoroughly vetted for their expertise and industry experience.