#22620 [Com]: gmmktime returns bogus STILL in 4.3.1

From: Date: Sun, 20 Jun 2004 18:28:46 +0000
Subject: #22620 [Com]: gmmktime returns bogus STILL in 4.3.1
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969361460@lists.php.net to get a copy of this message
ID: 22620 Comment by: emf_jth at bellsouth dot net Reported By: space at arch dot ch Status: Closed Bug Type: Documentation problem Operating System: Windows 2000 PHP Version: 4.3.1 New Comment: GMDATE() Workaround for Microsoft Server: Use the following gmstrftime() verus gmdate() to calculate elapsed time. To return amount of time on online: $time_online = time(); ex: 1087064037 (06/20/2004 13:13:57) gmstrftime('%H:%M:%S',$time_online) Previous Comments: ------------------------------------------------------------------------ [2003-03-11 16:43:08] jmcastagnetto@php.net Added a note in the manual page for gmdate about the broken system libs in Windows. ------------------------------------------------------------------------ [2003-03-11 16:38:53] jmcastagnetto@php.net This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2003-03-11 11:25:11] sniper@php.net yeah, it's still documentation issue. We can't fix windows, you need to ask Microsoft to do that. ------------------------------------------------------------------------ [2003-03-11 03:51:43] space at arch dot ch please at least read the post! this is a WINDOWS issue. *nix/solaris installations do not have the problem! #22457 seemed to be about win. the reply about unix. [???] again: --------------------------------------------- gmmktime(0,0,0,1,1,1970); gives: Warning: gmmktime() [function.gmmktime]: Windows does not support negative values for this function --------------------------------------------- why? #14391 is referred in #22457 and describes the problem thoroghly. but no solution has been presented since 2 years. the question is, if this will be fixed for windows platforms or not. ------------------------------------------------------------------------ [2003-03-10 09:45:21] sniper@php.net See bug #22457 ------------------------------------------------------------------------ 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/22620 -- Edit this bug report at http://bugs.php.net/?id=22620&edit=1

« previous php.doc (#969361460) next »