Hi,
Saturday, September 21, 2002, 12:30:48 PM, you wrote:
P> Hi,,
P> my server is located in the US and i live in Sweden, so when i try to run
P> the following command i get a 8hour diffrence,, anyone got any idea of how
P> to solve this?
P> date("Y-m-j")
P> regards
P> Patrick
A quick fix that won't account for daylight saving differences
unless Sweden uses the same dates as the US...
date("Y-m-j",strtotime(+8 hours));
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php