From:             nicke at hallgrens dot org
Operating system: WIN XP
PHP version:      5.1.2
PHP Bug Type:     Date/time related
Bug description:  date command returns wrong output

Description:
------------
command date("h:m:s") returns same minute over and over again. The hours
changes right but minutes seems to just show 04. Same problem occures on
PHP 4.4.0 on Linux.

Reproduce code:
---------------
date ("h:m:s");

Expected result:
----------------
correct time :)

Actual result:
--------------
C:\php>time
The current time is: 20:25:11.04
Enter the new time:

C:\php>php ttt.php
08:04:15
C:\php>php ttt.php
08:04:30
C:\php>php ttt.php
08:04:42
C:\php>php ttt.php
08:04:56
C:\php>php ttt.php
08:04:59
C:\php>php ttt.php
08:04:00
C:\php>php ttt.php
08:04:02
C:\php>

-- 
Edit bug report at http://bugs.php.net/?id=37108&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=37108&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=37108&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=37108&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=37108&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=37108&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=37108&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=37108&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=37108&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=37108&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=37108&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=37108&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=37108&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=37108&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=37108&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=37108&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=37108&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=37108&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=37108&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=37108&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=37108&r=mysqlcfg

Reply via email to