Bug #16908 Updated: some date functions appear to not be getting the correct timestamp from the OS

From: Date: Tue, 30 Apr 2002 01:20:31 +0000
Subject: Bug #16908 Updated: some date functions appear to not be getting the correct timestamp from the OS
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-6527@lists.php.net to get a copy of this message
ID: 16908 Updated by: mfoxx@hotmail.com Reported By: mfoxx@hotmail.com Status: Bogus Bug Type: Date/time related Operating System: Linux (RedHat 7.1) PHP Version: 4.1.1 New Comment: 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? Previous Comments: ------------------------------------------------------------------------ [2002-04-29 21:18:18] mfoxx@hotmail.com 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] sniper@php.net 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] mfoxx@hotmail.com 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

« previous php.bugs (#6527) next »