note 96364 added to function.gmstrftime
| From: | noblecorplt at yahoo dot com | Date: | Tue, 23 Feb 2010 15:25:31 +0000 |
| Subject: | note 96364 added to function.gmstrftime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-166282@lists.php.net to get a copy of this message | ||
Hi All,
I noticed a very interesting thing. The 'gmdate' is actually 10 minutes ahead of GMT. If
you use the code I generated for my site
setlocale(LC_TIME, 'LIT');
$tgl = gmdate('D, d M Y H:i:s',time()+7200) . ' LT TIME';
then echo the $tgl variable you will get the GMT time to be 10 minutes ahead... Any comments anyone?
----
Server IP: 69.147.83.197
Probable Submitter: 195.14.181.254
----
Manual Page -- http://www.php.net/manual/en/function.gmstrftime.php
Edit -- https://master.php.net/note/edit/96364
Del: integrated -- https://master.php.net/note/delete/96364/integrated
Del: useless -- https://master.php.net/note/delete/96364/useless
Del: bad code -- https://master.php.net/note/delete/96364/bad+code
Del: spam -- https://master.php.net/note/delete/96364/spam
Del: non-english -- https://master.php.net/note/delete/96364/non-english
Del: in docs -- https://master.php.net/note/delete/96364/in+docs
Del: other reasons-- https://master.php.net/note/delete/96364
Reject -- https://master.php.net/note/reject/96364
Search -- https://master.php.net/manage/user-notes.php