note 58619 added to function.gmdate
| From: | eddie | Date: | Wed, 09 Nov 2005 20:36:56 +0000 |
| Subject: | note 58619 added to function.gmdate | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-98347@lists.php.net to get a copy of this message | ||
In response to ncofreNOSPAMPLEASE at step2u dot com,
Your international time is all well and good, but you left out a VERY important piece of the code
you provided.
Change the second to last line from
echo gmdate("H:i");
to
echo gmdate("H:i", $city_time);
Nice example, though, thanks!
----
Manual Page -- http://www.php.net/manual/en/function.gmdate.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+58619
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+58619&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+58619&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+58619&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+58619&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+58619&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+58619&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+58619&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+58619&report=yes
Search -- http://master.php.net/manage/user-notes.php