getTimezoneOffset on the
Date object. Now that I have this information on the server side I'd like to create a TimeZoneInfo from it. How is this possible? If this is not possible then how can I convert UTC dates on the server side into the client's timezone using the minutes offset?
I'd like to create a TimeZoneInfo from it. How is this possible?
It's not possible. A time zone offset is not the same thing as a time zone. Please read the timezone tag wiki, especially the section titled "Time Zone != Offset".
... then how can I convert UTC dates on the server side into the client's timezone using the minutes offset?
DateTimeOffset that represents that moment in time. For example:
©2020 All rights reserved.