Bug #17472 Updated: mktime(), localtime(), etc. broken in Windows
| From: | k.schroeder@php.net | Date: | Sun, 02 Jun 2002 23:04:41 +0000 |
| Subject: | Bug #17472 Updated: mktime(), localtime(), etc. broken in Windows | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-9243@lists.php.net to get a copy of this message | ||
ID: 17472
Updated by: k.schroeder@php.net
Reported By: jasonh@trurocollege.ac.uk
-Status: Open
+Status: Duplicate
Bug Type: Date/time related
Operating System: Windows
PHP Version: 4.2.0
New Comment:
New comment to closed #17123. I reopen #17123.
Regards, Kai
Previous Comments:
------------------------------------------------------------------------
[2002-05-28 04:29:14] jasonh@trurocollege.ac.uk
Can someone please attempt to implement the work-around I suggested in
http://bugs.php.net/bug.php?id=17123 or explain
why it wouldn't work?
All that needs to be done is provide wrappers on the native mktime(),
localtime(), etc. calls. I would attempt this myself but I don't have
access to the necessary tools so I can't contribute to the CVS.
It's nice to have the documentation updated to highlight the problem
with Windows, but that isn't a solution and this problem makes it
impossible for me to recommend PHP under Windows for our database
activities (some people were born before 1970 so we have to be able to
cope with those dates).
Alternatively, maybe somebody knows how every other Windows application
copes with this? JScript, for example, has exactly the same timestamp
model and it copes with negative timestamps.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17472&edit=1