Link to home
Start Free TrialLog in
Avatar of darrelliu
darrelliuFlag for United States of America

asked on

about Timezone info stored in Windows 95 registry...please

hi there, does anybody have the specification on Timezone
info stored in Windows 95 registry? (Located at:
HLM\Software\Microsoft\Windows\CurrentVersion\Time Zone)
i wanna know the meaning of the key "MapID" and the "TZI"
string. if somebody can explain "TZI" string to me, i'll
appreciate! thanx...
Avatar of ryans
ryans

Does this work for you?

TZI=Time Zone Information
In Windows 95, the time-zone strings are located in the key:

   HKEY_LOCAL_MACHINE\SOFTWARE\
      Microsoft\
      Windows\
      CurrentVersion\
      Time Zones.

For each time zone, the registry key TZI is formatted as follows:

   LONG       Bias;
   LONG       StandardBias;
   LONG       DaylightBias;
   SYSTEMTIME StandardDate;
   SYSTEMTIME DaylightDate;

You can use this information to fill out a TIME_ZONE_INFORMATION structure, which is used when calling SetTimeZoneInformation().  

Avatar of darrelliu

ASKER

oh thanx...that help me a lot!
Are you being sarcastic??
hey why? i'm honest...maybe because i'm a beginner and i've searched in the web and posted
this question in several newsgroups and bbs for many days but no one replyed...i'm writing a
little clock program using VC, and i need this...i'm far away from an expert, but not sarcastic...
ASKER CERTIFIED SOLUTION
Avatar of Mujeeb082598
Mujeeb082598

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial