> + timeptr->tm_yday = 1; // Initialize to a well known, valid date
> + timeptr->tm_isdst = 0; // Tuesday March 18 14:05:00 2003 UTC
> + timeptr->tm_sec = 0;
> + timeptr->tm_min = 5;
> + timeptr->tm_hour = 24;
Sanity check: Shouldn't that be 14 not 24?
Andrew