On Thu, 2005-12-08 at 18:54 +0530,
[EMAIL PROTECTED] wrote:
> In Linux, I am changing the environment variable ‘TZ’ to the time-zone
> given in tzid. Then I am I able to get call time in that zone. But changing
> the
> environment variable is affecting all the threads running in that process.
> I need an alternative approach.
> 
> Please suggest a way to resolve this issue.

As far as I can tell from the Linux manual pages, the glib routines
contain everything needed for processing times in regard to various time
zones, but there are no user-visible interfaces for accessing these
routines.  I would suggest diving into their source and extracting the
routines that convert between GMT and local time, and providing them
with an interface that allows the caller to specify the time zone on a
call-by-call basis.  All the conversion information information comes in
the /usr/share/zoneinfo files; you just need to be able to specify the
zone directly.

Dale


_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to