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

From: Date: Mon, 29 Apr 2002 15:55:13 +0000
Subject: Bug #16908: some date functions appear to not be getting the correct timestamp from the OS
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-6469@lists.php.net to get a copy of this message
From: mfoxx@hotmail.com Operating system: Linux (RedHat 7.1) PHP version: 4.1.2 PHP Bug Type: Date/time related Bug description: some date functions appear to not be getting the correct timestamp from the OS 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 bug report at http://bugs.php.net/?id=16908&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16908&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16908&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16908&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16908&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16908&r=support Expected behavior: http://bugs.php.net/fix.php?id=16908&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16908&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16908&r=submittedtwice

« previous php.bugs (#6469) next »