RE: [PHP] Time
| From: | Fernando Melo | Date: | Tue, 25 Nov 2003 14:43:09 +0000 |
| Subject: | RE: [PHP] Time | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-170888@lists.php.net to get a copy of this message | ||
I have done all those checks. Thanks for trying though.
Anyone else have any suggestions please? :(
-----Original Message-----
From: tobias.kaboth@materna.de [mailto:tobias.kaboth@materna.de]
Sent: 25 November 2003 16:06
To: fernando.m@envent.co.za
Subject: AW: [PHP] Time
Hi Fernando,
first try "date" and "date -u" in a shell. That's the local and UTC-time.
Write a testscript to show time and timezone in PHP without calculations.
Check /etc/timezone. It can be that you must create it.
Sri, no more ideas on the fly. It's a little bit complex to manage all
features.
Hope some checks are good for your search...
Greetings,
Tobias
-----Ursprüngliche Nachricht-----
Von: Fernando Melo [mailto:fernando.m@envent.co.za]
Gesendet: Dienstag, 25. November 2003 11:20
An: 'php-general@lists.php.net'
Betreff: [PHP] Time
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php