ID: 41806 Updated by: [EMAIL PROTECTED] Reported By: lordi at msdi dot ca -Status: Open +Status: Assigned Bug Type: Date/time related Operating System: FreeBSD 6.2-RELEASE PHP Version: 5.2.3 -Assigned To: +Assigned To: derick New Comment:
I think someone forgot to commit the part to the ext/date/lib/ side of things when adding 'u' format as I can't see anywhere where t->f would be set to anything but 0.. Previous Comments: ------------------------------------------------------------------------ [2007-06-25 23:53:12] lordi at msdi dot ca Description: ------------ Hi, the "u" parameters in the date function should return milliseconds, but it always returns zeros. Reproduce code: --------------- date_default_timezone_set('America/Montreal'); echo date ('H:i:s:u'); Expected result: ---------------- 19:50:39:123456 Actual result: -------------- 19:50:39:000000 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41806&edit=1