On Thu, 24 Jul 2003, Tracy wrote:

> At 09:51 7/24/2003, Davide Libenzi wrote:
> >You are at UTC +10, that is -36000 for the timezone. That is fine. Your
> >system shows that daylight is enabled though. How the system does know ?
> >There's a configuration file (/etc/timezone in most Unix) that describe
> >timezone and daylight switch information. I don't know where the magic
> >happen in Windows, but your system is clearly misconfigured from that
> >point of view.
>
> Configuration of time zone is done through Control Panel > Date/Time -
> there should be a tab on that dialog for Time Zone.
>
> However, I don't know of any way to configure the start and end dates of
> DST for the Windows platform. I do know how to determine when the system
> believes those changes occur, however, if that would be helpful... (I can
> put together a simple C program to do that if you want...)

There must be a configuration file that lists start and end dates for
daylights. Here a small dump of mine :

/etc/localtime  Sun Apr  7 09:59:59 2002 UTC = Sun Apr  7 01:59:59 2002 PST isdst=0 
gmtoff=-28800
/etc/localtime  Sun Apr  7 10:00:00 2002 UTC = Sun Apr  7 03:00:00 2002 PDT isdst=1 
gmtoff=-25200
/etc/localtime  Sun Oct 27 08:59:59 2002 UTC = Sun Oct 27 01:59:59 2002 PDT isdst=1 
gmtoff=-25200
/etc/localtime  Sun Oct 27 09:00:00 2002 UTC = Sun Oct 27 01:00:00 2002 PST isdst=0 
gmtoff=-28800
/etc/localtime  Sun Apr  6 09:59:59 2003 UTC = Sun Apr  6 01:59:59 2003 PST isdst=0 
gmtoff=-28800
/etc/localtime  Sun Apr  6 10:00:00 2003 UTC = Sun Apr  6 03:00:00 2003 PDT isdst=1 
gmtoff=-25200
/etc/localtime  Sun Oct 26 08:59:59 2003 UTC = Sun Oct 26 01:59:59 2003 PDT isdst=1 
gmtoff=-25200
/etc/localtime  Sun Oct 26 09:00:00 2003 UTC = Sun Oct 26 01:00:00 2003 PST isdst=0 
gmtoff=-28800
/etc/localtime  Sun Apr  4 09:59:59 2004 UTC = Sun Apr  4 01:59:59 2004 PST isdst=0 
gmtoff=-28800
/etc/localtime  Sun Apr  4 10:00:00 2004 UTC = Sun Apr  4 03:00:00 2004 PDT isdst=1 
gmtoff=-25200
/etc/localtime  Sun Oct 31 08:59:59 2004 UTC = Sun Oct 31 01:59:59 2004 PDT isdst=1 
gmtoff=-25200
/etc/localtime  Sun Oct 31 09:00:00 2004 UTC = Sun Oct 31 01:00:00 2004 PST isdst=0 
gmtoff=-28800
/etc/localtime  Sun Apr  3 09:59:59 2005 UTC = Sun Apr  3 01:59:59 2005 PST isdst=0 
gmtoff=-28800
/etc/localtime  Sun Apr  3 10:00:00 2005 UTC = Sun Apr  3 03:00:00 2005 PDT isdst=1 
gmtoff=-25200
/etc/localtime  Sun Oct 30 08:59:59 2005 UTC = Sun Oct 30 01:59:59 2005 PDT isdst=1 
gmtoff=-25200
/etc/localtime  Sun Oct 30 09:00:00 2005 UTC = Sun Oct 30 01:00:00 2005 PST isdst=0 
gmtoff=-28800
/etc/localtime  Sun Apr  2 09:59:59 2006 UTC = Sun Apr  2 01:59:59 2006 PST isdst=0 
gmtoff=-28800
/etc/localtime  Sun Apr  2 10:00:00 2006 UTC = Sun Apr  2 03:00:00 2006 PDT isdst=1 
gmtoff=-25200
/etc/localtime  Sun Oct 29 08:59:59 2006 UTC = Sun Oct 29 01:59:59 2006 PDT isdst=1 
gmtoff=-25200
/etc/localtime  Sun Oct 29 09:00:00 2006 UTC = Sun Oct 29 01:00:00 2006 PST isdst=0 
gmtoff=-28800
/etc/localtime  Sun Apr  1 09:59:59 2007 UTC = Sun Apr  1 01:59:59 2007 PST isdst=0 
gmtoff=-28800
/etc/localtime  Sun Apr  1 10:00:00 2007 UTC = Sun Apr  1 03:00:00 2007 PDT isdst=1 
gmtoff=-25200
/etc/localtime  Sun Oct 28 08:59:59 2007 UTC = Sun Oct 28 01:59:59 2007 PDT isdst=1 
gmtoff=-25200
/etc/localtime  Sun Oct 28 09:00:00 2007 UTC = Sun Oct 28 01:00:00 2007 PST isdst=0 
gmtoff=-28800
/etc/localtime  Sun Apr  6 09:59:59 2008 UTC = Sun Apr  6 01:59:59 2008 PST isdst=0 
gmtoff=-28800
/etc/localtime  Sun Apr  6 10:00:00 2008 UTC = Sun Apr  6 03:00:00 2008 PDT isdst=1 
gmtoff=-25200
/etc/localtime  Sun Oct 26 08:59:59 2008 UTC = Sun Oct 26 01:59:59 2008 PDT isdst=1 
gmtoff=-25200




- Davide

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to