❔ Specify timezone of DateTime converted from localized timestamp without changing the time?
I'm working with an API that returns timestamps localized to Eastern Standard Time. These are encoded as Unix timestamps (seconds since 1970-01-01 00:00:00). I need to convert the timestamp to a DateTime object and then specify that the DateTime is reflecting a specific time zone. I do not want to convert the value as I don't want to add or subtract hours; I just want to specify that the value is already GMT -6. I need this because I need to compare the time against real Eastern Standard Time, which is at different times of the year either Eastern Standard Time or Eastern Daylight Time.
So how can I specify the time zone of a DateTime sourced from a localized timestamp?
So how can I specify the time zone of a DateTime sourced from a localized timestamp?