Date: 10/30/00
- Next message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #6907 Updated: configuration-parser.c won't compile"
- Previous message: stas <email protected>: "[PHP-DEV] PHP 4.0 Bug #7526 Updated: unixtojd (-x) causes php.exe to crash"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 6894
Updated by: stas
Reported By: martin.m.luethi <email protected>
Status: Closed
Bug Type: Date/time related
Assigned To:
Comments:
Again and again... Not every day has 60*60*24 seconds, when daylight settings are in effect. On the border of daylight settings day can have one hour more or one hour less.
Previous Comments:
---------------------------------------------------------------------------
[2000-09-26 23:03:58] martin.m.luethi <email protected>
hi,
i use following php script:
$actualday = mktime(0,0,0);
for ($i = 0; $i < 60; $i++)
{
echo strftime("%d.%m.%Y", $actualday)."<br>";
$actualday += 60*60*24; //= 1 day
}
it just prints out a list with some dates, but why does the date 2000-10-29 (or 2001-10-28 ...) appears twice?
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6894
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #6907 Updated: configuration-parser.c won't compile"
- Previous message: stas <email protected>: "[PHP-DEV] PHP 4.0 Bug #7526 Updated: unixtojd (-x) causes php.exe to crash"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

