#46788 [Bgs]: date u format always shows 0's
ID: 46788
User updated by: neo_in_matrix at msn dot com
Reported By: neo_in_matrix at msn dot com
Status: Bogus
Bug Type: Date/time related
Operating System: all
PHP Version: 5.2.7
New Comment:
Sorry... But I am quite curious about this 'problem'. Since date does
not return useful value for 'u', what else functions use this format?
Previous Comments:
------------------------------------------------------------------------
[2008-12-07 14:18:34] derick@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
This is correct. Date internally only uses timestamps, which are signed
*integers* and thus don't know anything about fractions.
------------------------------------------------------------------------
[2008-12-06 19:56:42] pajoye@php.net
engine > date/time
------------------------------------------------------------------------
[2008-12-06 19:42:30] neo_in_matrix at msn dot com
Description:
------------
date('u') always returns 0's, on Windows and Linux.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46788&edit=1
Thread (6 messages)