Atlantic standard time is (-04:00), but when I run the below query am getting (-03:00)
SELECT
DATEADD(MINUTE, DATEPART(tz, GETUTCDATE() AT Time Zone 'Atlantic Standard Time'), GETUTCDATE()) AS atantic_ts
For example:
- getutcdate() : 2022-09-12 16:00:00.000
- expected : 2022-09-12 12:00:00.000
- Actual output: 2022-09-12 13:00:00.000
It's not giving the proper current date time of Atlantic Standard Time.
Same issue occur for some other timezones like 'Alaskan standard time' also.