Handling different time zones
Posted: Mon Sep 24, 2007 9:57 am
There are two methods to handle different time zones (at least that I know of)...
1. Take the GMT time and use math to add/subtract relative to whatever time zone you select.
2. Use putenv() to actually set the TZ variable.
Which way would you guys say is the best? If it even matters..
1. Take the GMT time and use math to add/subtract relative to whatever time zone you select.
2. Use putenv() to actually set the TZ variable.
Which way would you guys say is the best? If it even matters..