Forum Discussion
PeterGarant
9 years agoHelper I
Time Zones
Hi all I have a problem with timezones. Our SQL server logs time in UTC, and our local machines are in UTC +1 (or +2 depending on DST). So right now when I get data with time in it I know tha...
- 9 years ago
Hi PeterGarant,
Based on my test, you can just use the formula below to add a custom column to get the expected Local time. :smileyhappy:
= DateTimeZone.RemoveZone([CreatedUTC]) + #duration(0, DateTimeZone.ZoneHours([CreatedUTC]), 0, 0)
Regards
Greg_Deckler
9 years agoCommunity Champion
You could split your UTC time field so that you get the offset and then create a column that adds or subtracts that time as appropriate.