is it just me, or is there something legitimately wrong here:
#include <time.h>
#include "apr.h"
#include "apr_time.h"
#include <stdio.h>
int main(int argc, char *argvp[])
{
apr_time_exp_t lt;
apr_time_exp_lt(<, (apr_time_now() / APR_USEC_PER_SEC));
printf("is_dst=%d\n", lt.tm_isdst);
return 0;
}
$ date
Fri Jun 11 14:38:16 EDT 2004
$ ./x
is_dst=0
--
#ken P-)}
Ken Coar, Sanagendamgagwedweinini http://Ken.Coar.Org/
Author, developer, opinionist http://Apache-Server.Com/
"Millennium hand and shrimp!"
|