note 43015 added to function.time
| From: | gnif at spacevs dot com | Date: | Sun, 06 Jun 2004 23:44:55 +0000 |
| Subject: | note 43015 added to function.time | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-70554@lists.php.net to get a copy of this message | ||
The time() function returns a timestamp with the timezone added to it, here is a function to return
the current gmt time.
function gmtime() {return time() - date('Z');}
------
http://www.spacevs.com
----
Manual Page -- http://www.php.net/manual/en/function.time.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+43015
Delete -- http://master.php.net/manage/user-notes.php?action=delete+43015&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+43015&report=yes
Search -- http://master.php.net/manage/user-notes.php