note 102595 added to function.time

From: Date: Wed, 23 Feb 2011 16:29:28 +0000
Subject: note 102595 added to function.time
Groups: php.notes 
Request: Send a blank email to php-notes+get-177258@lists.php.net to get a copy of this message
A method return GMT time (gmttime): $gmtimenow = time() - (int)substr(date('O'),0,3)*60*60; echo $gmtimenow . "\n"; it convert current time to GMT based on time zone offset. by frank. ---- Server IP: 69.147.83.197 Probable Submitter: 24.156.39.169 ---- Manual Page -- http://www.php.net/manual/en/function.time.php Edit -- https://master.php.net/note/edit/102595 Del: integrated -- https://master.php.net/note/delete/102595/integrated Del: useless -- https://master.php.net/note/delete/102595/useless Del: bad code -- https://master.php.net/note/delete/102595/bad+code Del: spam -- https://master.php.net/note/delete/102595/spam Del: non-english -- https://master.php.net/note/delete/102595/non-english Del: in docs -- https://master.php.net/note/delete/102595/in+docs Del: other reasons-- https://master.php.net/note/delete/102595 Reject -- https://master.php.net/note/reject/102595 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#177258) next »