Timezones 
Author Message
 Timezones

Hi,

I'm trying to convert from GMT to localtime given a GMT time and an offset
for the locality.  What is the best approach for this?  It should take into
account daylight savings time as well.
  The original problem is that servers dont return always a correct date as
part of their HTTP headers.  Anyone knows a solution to this?

Regards
Gerhard van Gorkum



Thu, 15 Nov 2001 03:00:00 GMT  
 Timezones
In Windows NT, the time-zone strings are located in the key:

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

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;



Sat, 17 Nov 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Automatic DateTime formating between TimeZones?

2. Date and Time in Different Timezones

3. time_t, tm*, and timezones (please read!)

4. Q: conversion between timezones

5. time_t, tm*, and timezones (please read!)

6. !! Fun With Timezones !!

7. Timezones

8. Timezones

9. Timezones

10. timezones and universal coordinated time

11. TimeZones Abbreviated

12. Timezones - who can answer this

 

 
Powered by phpBB® Forum Software