ID: 16908 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Date/time related Operating System: Linux (RedHat 7.1) PHP Version: 4.1.1 New Comment:
The only date I see coming out of phpinfo() is the "Build Date" and this accurately represents the date when the PHP executable was built. Previous Comments: ------------------------------------------------------------------------ [2002-04-29 21:20:30] [EMAIL PROTECTED] don't you think it qualifies as a bug of some sort that some of the PHP functions return the right date as reported by the OS, and some, like the ones phpinfo() uses, do not? ------------------------------------------------------------------------ [2002-04-29 21:18:18] [EMAIL PROTECTED] You all are no help. If I thought this was a support issue, I wouldn't have turned to you. But I've scoured the internet looking for some explanation as to why phpinfo() is not getting the right date. Noone seems to know. So, why don't you do something helpful and tell me why? I didn't write phpinfo(), the writers of PHP did. so tell me why its wrong? its certainly not something wrong with my server, i have the RIGHT timestamp. ------------------------------------------------------------------------ [2002-04-29 17:53:49] [EMAIL PROTECTED] The bug system is not the appropriate forum for asking support questions. For a list of a range of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php ------------------------------------------------------------------------ [2002-04-29 11:55:13] [EMAIL PROTECTED] I actually have 4.1.1 installed... and the timestamp on my system IS correct... So far, I have tested several of the date/time functions and they appear to return the correct info. However, when I run phpinfo.php, it reports the wrong date and time, different than the timestamp on my server. I've also noticed that a few plugin php services (and some CGI scripts), like news scripts and message boards, (I have not examined the code THOUROUGHLY) appear to also be getting their info from the same place that phpinfo is getting it. Since I don't know how phpinfo is getting this, and it is clearly not using the same functions for date/time as I am using, I don't know what's wrong. Could someone please look into this? I really would appreciate some suggestions on how to proceed in finding and fixing this bug. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16908&edit=1