Bug #16536: Give me inconsisten results

From: Date: Wed, 10 Apr 2002 20:43:37 +0000
Subject: Bug #16536: Give me inconsisten results
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-4556@lists.php.net to get a copy of this message
From: james@jimijon.com Operating system: mac os x PHP version: 4.1.2 PHP Bug Type: Date/time related Bug description: Give me inconsisten results #get the numeric sunday $today_var = getdate(); $today_sec = mktime(0,0,0,date("m"),date("d"),date("Y")); $offset = $today_var[wday] * 86400 ; $first_day = $today_sec - $offset; $this_week_first_date = date("ymd", $first_day); $path=$this_week_first_date; this just won't get me Sunday this week.. 020407 suddenly at midnight on Monday the 8th it went to 06, this has been running fine for many many weeks now. Help -- Edit bug report at http://bugs.php.net/?id=16536&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16536&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16536&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16536&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16536&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16536&r=support Expected behavior: http://bugs.php.net/fix.php?id=16536&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16536&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16536&r=submittedtwice

« previous php.bugs (#4556) next »