On Sun, 2002-08-04 at 18:54, Erez Doron wrote:

> i am writing a small app in C and i need to get the timezone
> ( e.g. -2:00 for israel )
> how do i do that ?
> 
> the timezone variable from <time.h> returns 0 

Call tzset() before accessing this variable.


-- 
Alex Shnitman <[EMAIL PROTECTED]>
http://www.hectic.net/   UIN 188956
PGP 0xEC5D619D / E1 F2 7B 6C A0 31 80 28  63 B8 02 BA 65 C7 8B BA

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to