ID:               36401
 Updated by:       [EMAIL PROTECTED]
 Reported By:      marcel dot alburg at alkronet dot info
-Status:           Open
+Status:           Bogus
 Bug Type:         Date/time related
 Operating System: Linux
 PHP Version:      5.1.2
 New Comment:

Why? The result is correct. You're getting the timestamp for 0
january-1 (december of the previous year), year 0 (which is 2000) at
00:00:00. This is exactly 30 november 1999, 00:00:00


Previous Comments:
------------------------------------------------------------------------

[2006-02-15 13:31:15] marcel dot alburg at alkronet dot info

Description:
------------
If i enter

print mktime(0,0,0,0,0,0) 

i get "943916400" but it must be "0"


print date('r', mktime(0,0,0,0,0,0));

returns

Tue, 30 Nov 1999 00:00:00 +0100

Marcel Alburg

Reproduce code:
---------------
print mktime(0,0,0,0,0,0);

returns 943916400


Expected result:
----------------
mktime(0,0,0,0,0,0) must be 0



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=36401&edit=1

Reply via email to