Re: mktime() output not the same as the date utility

2008-10-14 Thread Mark B.
On Tue, Oct 14, 2008 at 1:50 PM, Jeremy Chadwick <[EMAIL PROTECTED]> wrote: > On Tue, Oct 14, 2008 at 12:43:54PM -0400, Mark B. wrote: >> I can't figure out from the man pages why >> mktime() is giving a different result than date -f. >> Both strptime and mktime are supposed to use the >> local tim

Re: mktime() output not the same as the date utility

2008-10-14 Thread Jeremy Chadwick
On Tue, Oct 14, 2008 at 12:43:54PM -0400, Mark B. wrote: > I can't figure out from the man pages why > mktime() is giving a different result than date -f. > Both strptime and mktime are supposed to use the > local timezone, as does date. > > The output of date is correct; mktime() is an hour later

mktime() output not the same as the date utility

2008-10-14 Thread Mark B.
Hi, I can't figure out from the man pages why mktime() is giving a different result than date -f. Both strptime and mktime are supposed to use the local timezone, as does date. The output of date is correct; mktime() is an hour later. What am I missing here? Thanks, m $ uname -s; uname -r Fre