From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.2.1
PHP Bug Type:     Date/time related
Bug description:  mktime() Off by One?

In the array returned from localtime(), tm_mon starts from 0.  However, the
month field in mktime() starts from 1.  Is there the way it is in C, or is
this a PHP implementation bug?

Thanks,

Hans


-- 
Edit bug report at http://bugs.php.net/?id=17335&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=17335&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=17335&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=17335&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=17335&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17335&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=17335&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=17335&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=17335&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=17335&r=globals

Reply via email to