#27866 [Fbk->NoF]: mktime() returns invalid value
| From: | iliaa@php.net | Date: | Sun, 11 Apr 2004 16:14:47 +0000 |
| Subject: | #27866 [Fbk->NoF]: mktime() returns invalid value | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-57923@lists.php.net to get a copy of this message | ||
ID: 27866
Updated by: iliaa@php.net
Reported By: andrew at mansionproductions dot com
-Status: Feedback
+Status: No Feedback
Bug Type: Date/time related
Operating System: FreeBSD 4.8
PHP Version: 4.3.5
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2004-04-05 08:18:44] derick@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2004-04-05 06:46:36] abies@php.net
$ uname -mrs
FreeBSD 4.8-RELEASE alpha
$ php -r 'var_dump(mktime(0,0,0,4,4,2004));'
int(1081029600)
Make sure you have set up your locales and timezones
correctly.
------------------------------------------------------------------------
[2004-04-05 06:35:58] andrew at mansionproductions dot com
Description:
------------
mktime(0,0,0,4,4,2004)
returns -7262
Reproduce code:
---------------
<?php
$time = mktime(0,0,0,4,4,2004)
?>
Expected result:
----------------
$test should be 1081026000
Actual result:
--------------
$time is -7262
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27866&edit=1