note 96364 rejected from function.gmstrftime by danbrown
| From: | danbrown@php.net | Date: | Tue, 23 Feb 2010 15:31:29 +0000 |
| Subject: | note 96364 rejected from function.gmstrftime by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-166283@lists.php.net to get a copy of this message | ||
Note Submitter: noblecorplt at yahoo dot com
----
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?