[snip] > [snip] > I am in Hong Kong and the server is in US. > I can't change the server setting. > [/snip] > > How about getting the server time and then adding or subtracting from > that to get the appropriate time? > > http://us2.php.net/manual/en/function.time.php
That doesn't really account for daylight savings, etc etc. [/snip] True, does Hong Kong use DSLT? Does the server in the US use DSLT? Can the server time be related to GMT and then added to or subrtacted from? Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php