FW: tz database help
Olson, Arthur David (NIH/NCI) [E]
olsona at dc37a.nci.nih.gov
Mon Oct 30 22:18:02 UTC 2006
I'm forwarding this message from Joseph Thurakal, who is not on the time
zone mailing list.
Those of you who are on the time zone mailing list: please direct
replies appropriately.
JT: the idea if you're writing a C language program is to set the time
zone environment variable to the value associated with the US central
time zone location of interest, fill in a "struct tm" with the values
associated with the instant of interest, call "mktime" to find the
"time_t" value associated with the filled-in structure, then re-set the
time zone enviroment variable to the appropriate "another time zone"
value and feed mktime's returned time_t value to "localtime."
--ado
________________________________
From: Joseph Thurakal [mailto:josephthurakal at gmail.com]
Sent: Friday, October 27, 2006 7:55 AM
To: tz at lecserver.nci.nih.gov
Subject: tz database help
Hi,
My name is Joseph Thurakal and I am new to tz database. I am trying
to figure out how to convert historic US central time zone times into
another time zone, and I can't figure this out from the readme files.
Could you outline how to do this or point me to a good source? Thanks
for your help.
Joe
More information about the tz
mailing list