RE: [PHP] Time

From: Date: Tue, 25 Nov 2003 17:07:18 +0000
Subject: RE: [PHP] Time
Groups: php.general 
Request: Send a blank email to php-general+get-170908@lists.php.net to get a copy of this message
Hi, I found the problem. If you change the time zone on your Linux server running Apache and PHP, you need to Stop and then Start Apache else the PHP (or Apache) will still pick up the old time zone. Thanks anyway -----Original Message----- From: Wouter van Vliet [mailto:wouter@springt.nl] Sent: 25 November 2003 13:13 To: 'Fernando Melo'; php-general@lists.php.net Subject: RE: [PHP] Time Fernando Melo wrote: > Hi there, > > I have a RH Linux Web server running apache and PHP. > > I recently changed the system clock, the time zone and hardware clock. > The time and date are showing up correctly in Webmin and in > the O/S itself. > But when I call a php function to display the date and time > it shows it as one hour behind! > > How do I fix this? > > Regards > Fernando Must be something with your locale settings. Probably your sytem clock is set to the GMT time, while you are in GMT+1 yourself. Not really sure how to fix this, but this might be something that helps you find the solution. Let me know ! Wouter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#170908) next »