RE: [PHP] time question
| From: | J. Scott Johnson | Date: | Sat, 30 Mar 2002 22:06:49 +0000 |
| Subject: | RE: [PHP] time question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-90809@lists.php.net to get a copy of this message | ||
Why wouldn't you use gmdate:
http://www.php.net/manual/en/function.gmdate.php
and then increment it yourself by an offset?
Scott
-----Original Message-----
From: anders nawroth [mailto:anders@nawroth.com]
Sent: Saturday, March 30, 2002 5:05 PM
To: php-general@lists.php.net
Subject: [PHP] time question
How do I get the current time() for Central European Time
(= GMT +01:00).
I want it to work wherever the server stands.
How can I get the difference between server time
and GMT, for instance?
A. Nawroth
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php