Got a client site in Thailand that is about 13 hours different from the Web Server time so with any date/time stamping I need to add the 13 hours. However, when it comes time for DST, I'd hate to have to code for that or remember to manually change the time stamping.
Is there some kind of automated function that determines the time zone of one location to another and stamps the correct time -- with or without DST? I guess otherwise you'd have to do something like: if > Oct 31st and < April XX { time+12 } else { time+13 Obviously not the correct code but that's the idea. Am I off base here? Is there a simpler method or something I'm not thinking of? If the server was dedicated I would just fix the server time to be Thailand time, but it's a shared server and I can't do that. Thanks in advance! __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php