Yep,

The first one you sent:
================================
#include <stdio.h>
#include <time.h>


int main(void) {

        tzset();
        printf ("daylight: %d\n", _daylight);
        printf ("timezone: %ld\n", _timezone);

        return 0;
}
================================

The second one you sent:
================================
#include <stdio.h>
#include <time.h>

int main(void) {
        time_t tc;
        struct tm tmc;

      tzset();
        tc = time(NULL);
        tmc = *localtime(&tc);

#ifdef __GNUC__
        printf("tz=%ld\n", timezone);
        printf("dlp=%d\n", daylight);
#else
        printf("tz=%ld\n", _timezone);
        printf("dlp=%d\n", _daylight);
#endif
        printf("dla=%d\n", tmc.tm_isdst);

        return 0;
}
================================


Rob :)


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Davide Libenzi
> Sent: Tuesday, October 28, 2003 11:16 AM
> To: XMail mailing list
> Subject: [xmail] Re: FW: Re: Daylight time.
> 
> 
> 
> On Tue, 28 Oct 2003, Rob Arends wrote:
> 
> >
> > So maybe you go no reports because most of the installed Xmail 
> base is in
> > the Northern Hemisphere?
> >
> > You should see some more reports now that your half of the 
> world returns to
> > 'normal' time.
> >
> > The report by Achim Schmidt is exactly what I have, only he has 
> just started
> > getting 2300 and I have just finished having 2300.
> 
> Do you still have the C test program I sent you to have Achim to run it?
> 
> 
> 
> - 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]
> 
> 
-
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