On Thu, 24 Jul 2003, Rob Arends wrote: > > I did a little testing/research, and found that _daylight returns whether > daylight is enabled on the system, and _timezone returns the seconds to > add/subtract from UTC. > > But how do you determine WHEN to apply the daylight offset and WHAT is the > offset? > > Now the _timezone may change according to the system clock, therefore XMail > does not need to worry about how much and when. > > The _daylight on my system only changes if the systems daylight capability > is enabled/disabled. ie. If _daylight=1 (enabled), then the time WILL > change when the right time occurs. NOT that daylight time is actually > adjusting the time or not. > > Also a correction to my earlier mail, I am 10 hours east of UTC, or 10 hours > earlier. > Therefore I am UTC-10. > Also it is winter here and daylight time is not currently observed. > my _daylight= 1 > and _timezone=-36000
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. - 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]
