Achim, Try this prog, Tracy (I think) sent it to me.
www.arends.com.au/public/TSInfo.cpp This one does calculate correctly but I think it is Windoze only. Rob :) > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Achim Schmidt > Sent: Tuesday, October 28, 2003 11:37 AM > To: [EMAIL PROTECTED] > Subject: [xmail] Re: FW: Re: Daylight time. > > > > Am Die, 2003-10-28 um 01.15 schrieb Davide Libenzi: > > Do you still have the C test program I sent you to have Achim to run it? > > if you mean the one from 21 Jul 2003 > > #include <stdio.h> > #include <time.h> > > int main(void) { > tzset(); > printf("dl=%d\n", daylight); > printf("tz=%ld\n", timezone); > return 0; > } > > the system switched from 00 to 23: > bt6:~ # ./a.out > dl=1 > tz=-3600 > > the system switched from 01 to 00: > daffy:~ # ./a.out > dl=1 > tz=-3600 > > - Achim > > > - > 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] > > - 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]