User1203305613 posted
a)The question is pertaining to "AT TIME ZONE "
SELECT getdate() AT TIME ZONE 'Eastern Standard Time' This returns 2019-02-23 12:31:01.937 -05:00 , how do apply the offset so the result would be as 2019-02-23 7:31:01.937
b)The Second question is about the view sys.time_zone_info
select * from sys.time_zone_info where name in
('Eastern Standard Time','Central Standard Time','Pacific Standard Time','Mountain Standard Time')
The query returns
name current_utc_offset is_currently_dst
Pacific Standard Time -08:00 0
Mountain Standard Time -07:00 0
Central Standard Time -06:00 0
Eastern Standard Time -05:00 0
How does it look after Daylight Savings say in Winter (Dec 25 ) would Eastern Standard Time returned from sys.time_zone_info look like
Eastern Standard Time -04:00 1