On 21-Sep-2002 Patrick wrote: > Hi,, > > my server is located in the US and i live in Sweden, so when i try to run > the following command i get a 8hour diffrence,, anyone got any idea of how > to solve this? > > date("Y-m-j") > >
putenv('TZ=Europe/Stockholm'); mktime(0,0,0,1,1,1970); echo date("Y-m-j"); -- Don Read [EMAIL PROTECTED] -- "Beer is proof that God loves us and wants us to be happy." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php