Mombu the Php Forum sponsored links

Go Back   Mombu the Php Forum > Php > #40717 : date "01-01-1968" inaccessible via date function
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 17th July 01:31
php-bugs
External User
 
Posts: 1
Default #40717 : date "01-01-1968" inaccessible via date function


ID: 40717
User updated by: manuel dot pinhao at nvisible dot pt
Reported By: manuel dot pinhao at nvisible dot pt
-Status: No Feedback
+Status: Open
Bug Type: Date/time related
Operating System: Windows XP SP2
PHP Version: 5.2.1
New Comment:

My setup is Windows XP SP2. This bug should be reproducible in that OS.


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

[2007-04-05 01:00:01] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

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

[2007-03-28 08:47:02] derick@php.net

I can't reproduce this on windows (2k) either.

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

[2007-03-05 10:35:07] derick@php.net

Portugal didn't do DST between 1966 and 1976, so that is not the issue.
I'll have to see what I get on Windows once that POS wants to boot again


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

[2007-03-05 10:20:38] manuel dot pinhao at nvisible dot pt

Yes, this seems to be a windows-only problem. I've tested it on Linux
and it works as expected.
Regarding DST, I'm no expert on this matter, but DST could probably
'bump' time one hour forwards or backwards, not lose a whole day. As for
testing 6-7 AM, I wasn't able to target any hours in 01-01-1968.

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

[2007-03-05 10:03:49] derick@php.net

This works fine for me (on Linux):

-63158410: 31-12-1967 23:59:50 (UTC)
-63158409: 31-12-1967 23:59:51 (UTC)
-63158408: 31-12-1967 23:59:52 (UTC)
-63158407: 31-12-1967 23:59:53 (UTC)
-63158406: 31-12-1967 23:59:54 (UTC)
-63158405: 31-12-1967 23:59:55 (UTC)
-63158404: 31-12-1967 23:59:56 (UTC)
-63158403: 31-12-1967 23:59:57 (UTC)
-63158402: 31-12-1967 23:59:58 (UTC)
-63158401: 31-12-1967 23:59:59 (UTC)
-63158400: 01-01-1968 00:00:00 (UTC)
-63158399: 01-01-1968 00:00:01 (UTC)
-63158398: 01-01-1968 00:00:02 (UTC)
-63158397: 01-01-1968 00:00:03 (UTC)
-63158396: 01-01-1968 00:00:04 (UTC)
-63158395: 01-01-1968 00:00:05 (UTC)
-63158394: 01-01-1968 00:00:06 (UTC)
-63158393: 01-01-1968 00:00:07 (UTC)
-63158392: 01-01-1968 00:00:08 (UTC)
-63158391: 01-01-1968 00:00:09 (UTC)
-63158390: 01-01-1968 00:00:10 (UTC)


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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/40717

--
Edit this bug report at http://bugs.php.net/?id=40717&edit=1
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666