note 43015 deleted from function.time by aidan
| From: | aidan@php.net | Date: | Sat, 08 Oct 2005 01:05:58 +0000 |
| Subject: | note 43015 deleted from function.time by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-96629@lists.php.net to get a copy of this message | ||
Note Submitter: gnif at spacevs dot com
----
The time() function returns a timestamp with the timezone added to it, here is a function to return
the current gmt time.
<?php
function gmtime() {return time() - date('Z');}
?>