note 77655 added to function.date

From: Date: Fri, 07 Sep 2007 00:36:46 +0000
Subject: note 77655 added to function.date
Groups: php.notes 
Request: Send a blank email to php-notes+get-130281@lists.php.net to get a copy of this message
The milliseconds don't seem to work on my setup. I'm using Win XP SP2, Apache 2.2.3 and PHP 5.2.4. All I get from the "u" format character is a bunch of ZEROS: <?php echo date("H:m:s:u", time()); // result is 03:35:17:000000 ?> It just can't be that I get the start of a new second every time. This might be a bug. Or am I doing something wrong? ---- Server IP: 69.147.83.197 Probable Submitter: 89.136.149.230 ---- Manual Page -- http://www.php.net/manual/en/function.date.php Edit -- https://master.php.net/note/edit/77655 Del: integrated -- https://master.php.net/note/delete/77655/integrated Del: useless -- https://master.php.net/note/delete/77655/useless Del: bad code -- https://master.php.net/note/delete/77655/bad+code Del: spam -- https://master.php.net/note/delete/77655/spam Del: non-english -- https://master.php.net/note/delete/77655/non-english Del: in docs -- https://master.php.net/note/delete/77655/in+docs Del: other reasons-- https://master.php.net/note/delete/77655 Reject -- https://master.php.net/note/reject/77655 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#130281) next »