I have a DropDownList control that populates the TimeZones clock:
ReadOnlyCollection<TimeZoneInfo> tzCollection; tzCollection = TimeZoneInfo.GetSystemTimeZones();
Now I want to add an option to remember the user's previous choice in a persistent cookie, but I canβt figure out which parameter to use for this: I thought to use a time offset from GMT / UTC, but there could be several time zones in the list with the same offset . And using the TimeZoneInfo.Id property also seems unpleasant to me, because it is represented by a descriptive string, such as "Standard Pacific Time", which can be a problem for localization (in the case of foreign languages).
So, any suggestions that I will use?
source share