Skip to main content

Data Factory

Needs Votes

Function to convert timezones by name for zones with variable offset

Vote (3) Share
René Valentin Panning's profile image

René Valentin Panning on 10 Jul 2024 12:51:57

The DateTimeZone.SwitchZone(...) function requires you to set a definitive offset to convert between timezones. This is problematic since,in some timezones (e.g. CEST), there are summer time and winter time and hardcoded offsets would have to be changed twice a year for such countries.