Between Windows XP and Vista (and server 2003 and 2008) Microsoft have removed the Index
key from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones
and guess which value we store in our database to record an employee's time zone...
(See http://support.microsoft.com/kb/935369).
What is the best value to use instead? Microsoft seem to advocate using the name of the registry key for the time zone in question (like HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\GMT Standard Time
) but that feels like magic constants to me.
Is there a value that is guaranteed to be unique and fixed across Windows versions, cultures, translations and localisations?