Portable timezone???
From: Charles Sullivan (cwsulliv_at_triad.rr.com)
Date: 08/02/03
- Next message: alain senecal: "Re: Ghosting is there something equivalante"
- Previous message: Kevin Krammer: "Re: What tools for understanding sources?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 02 Aug 2003 02:14:13 GMT
I'm trying to come up with some way of determining the
user's standard timezone (as +/- seconds from UTC0) which
is portable between different variants of Unix.
Under Linux glibc I can call localtime(...) and the global
library variable "timezone", defined as a long integer,
is filled in with this information. But that doesn't
appear to be the case for FreeBSD and probably other
Unix variants. At least for some versions of BSD,
"timezone" appears to be a function of some sort.
Any ideas will be appreciated. Thanks.
Regards,
Charles Sullivan
- Next message: alain senecal: "Re: Ghosting is there something equivalante"
- Previous message: Kevin Krammer: "Re: What tools for understanding sources?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|