Re: gmdate problem
| From: | - Edwin - | Date: | Tue, 21 Oct 2003 07:02:17 +0000 |
| Subject: | Re: gmdate problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-166910@lists.php.net to get a copy of this message | ||
Hi,
On Tue, 21 Oct 2003 12:44:38 +0800
irinchiang@justeducation.com wrote:
>
> Hi all,
> Having some problem with 'gmdate' here. However, the time
> doesn't match
> with the current time on the system. What could be the problem? Do I
> have to set any timezone or stuff like that?...Hope to get some help
> here.
From the manual: (http://www.php.net/manual/en/function.gmdate.php)
[quote]
Identical to the date() function except that the time returned is
Greenwich Mean Time (GMT).
[/quote]
So, I guess, you have to make sure first that your server (system) is
located inside the GMT time zone :)
- E -
__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/