note 109551 added to function.date

From: Date: Fri, 27 Jul 2012 15:52:03 +0000
Subject: note 109551 added to function.date
Groups: php.notes 
Request: Send a blank email to php-notes+get-189430@lists.php.net to get a copy of this message
In bakerj417 at gmail dot com's good addition of 07-Mar-2012 04:48, the substr should have a 7 instead of a 6: If you are having an issue getting u to work so is everyone else. The solution ... is to use this: date("Y/m/d H:i:s"). substr((string)microtime(), 1, 7); that will give you: yyyy/mm/dd hh:ii:ss.uuuuuu ---- Server IP: 69.147.83.197 Probable Submitter: 24.235.75.160 ---- Manual Page -- http://www.php.net/manual/en/function.date.php Edit -- https://master.php.net/note/edit/109551 Del: integrated -- https://master.php.net/note/delete/109551/integrated Del: useless -- https://master.php.net/note/delete/109551/useless Del: bad code -- https://master.php.net/note/delete/109551/bad+code Del: spam -- https://master.php.net/note/delete/109551/spam Del: non-english -- https://master.php.net/note/delete/109551/non-english Del: in docs -- https://master.php.net/note/delete/109551/in+docs Del: other reasons-- https://master.php.net/note/delete/109551 Reject -- https://master.php.net/note/reject/109551 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#189430) next »