Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
April 3, 2006, 4:42 am
rate this thread
I'm accessing a server in Dublin from Seoul. I need to be able to
translate times into various timezones across the world. Simple
addition isn't the best because it doesn't take into account Daylight
Saving Times etc ....
What I'm doing is setting the TZ environment variable to my preferred
timezone and then calling a date function to get the hour ...
... unfortunately it doesn't work and I don't know why.
TZ is definitely set when I call my date function ... but it always
returns dublin time regardless of the TZ environment variable .... ?