note 43015 modified in function.time by aidan

From: Date: Fri, 07 Oct 2005 23:56:01 +0000
Subject: note 43015 modified in function.time by aidan
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-96588@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. <?php function gmtime() {return time() - date('Z');} ?> --was-- 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 http://php.net/manual/en/function.time.php

« previous php.notes (#96588) next »