RE: [PHP] Date Time

From: Date: Mon, 23 Sep 2002 01:40:17 +0000
Subject: RE: [PHP] Date Time
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-117220@lists.php.net to get a copy of this message
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 dread@texas.net -- "Beer is proof that God loves us and wants us to be happy."

« previous php.general (#117220) next »