note 65549 added to function.time
| From: | egingell at sisna dot com | Date: | Wed, 03 May 2006 08:00:57 +0000 |
| Subject: | note 65549 added to function.time | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-110430@lists.php.net to get a copy of this message | ||
<?
/**
* Returns the true time in seconds since the Unix Epoch (January 1 1970 00:00:00 GMT)
*
* Calling date() with gmtime() as the second parameter is identical to calling
* gmdate() with time() as the second parameter.
**/
function gmtime() { // Get GM offset. See http://www.php.net/manual/en/function.date.php
return time() - (int) date('Z');
}
?>
----
Server IP: 216.194.113.175
Probable Submitter: 65.100.194.45
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.time.php
Edit -- http://master.php.net/note/edit/65549
Del: integrated -- http://master.php.net/note/delete/65549/integrated
Del: useless -- http://master.php.net/note/delete/65549/useless
Del: bad code -- http://master.php.net/note/delete/65549/bad+code
Del: spam -- http://master.php.net/note/delete/65549/spam
Del: non-english -- http://master.php.net/note/delete/65549/non-english
Del: in docs -- http://master.php.net/note/delete/65549/in+docs
Del: other reasons-- http://master.php.net/note/delete/65549
Reject -- http://master.php.net/note/reject/65549
Search -- http://master.php.net/manage/user-notes.php