);
}
And this is the output:
tzname=[CET,CEST]
timezone=-1168
tzname Is correct, but timezone is not.
[snip]
I've noticed a similar problem on my system. I first noticed me when
someone pointed out to me that my mail's time says -0600 (EST) which is,
of course, incorrect. It should read CST. I asked
instruction for localtime()
localtime( t );// sets tzname and timezone
printf( tzname=[%s,%s]\n, tzname[0], tzname[1] );
printf( timezone=%ld\n, timezone );
}
And this is the output:
tzname=[CET,CEST]
timezone=-1168
tzname Is correct, but timezone is not.
Can anybody
]
timezone=-1168
tzname Is correct, but timezone is not.
Can anybody explain this? Is this a bug in glibc or something?
Thanx,
Edwin Martin.
---
The world is moving so fast these days
that the person who says it can't be done
is generally interrupted by someone
Eric Gillespie, Jr. wrote:
I've noticed a similar problem on my system. I first noticed me when
someone pointed out to me that my mail's time says -0600 (EST) which is,
of course, incorrect. It should read CST. I asked what was going on once,
but no one responded. I ran your little program
On Wed, 13 Jan 1999, Oliver Elphick wrote:
I can't comment on why you're getting EST instead of CST, but 21600 is
surely correct for a 6 hour difference from UTC.
--
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight
5 matches
Mail list logo