#=========================================================== $oneDay = 24 * 60 * 60; # 24 hours * 60 minutes/hour * 60 $oldday = "none"; # we haven't had a day yet for( $day = 0; $day < 7; $day++ ) { #=========================================================== # figure out the month and day that we are looking at this # the loop # VDB:: are we geting the right date/time at 1am?? #=========================================================== ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $i localtime( time() - ( $oneDay * $day ) ); . . . }This code loops through the last 7 days by subtracting 24 * 60 * 60 seconds off of 'time'. But yesterday only had 23 hours in it... Minor glitch...
Check the 'Month' index if you want to look at an entry before the
problem goes away at 1am.
A copy of this log entry has been emailed to: rom@jlab.org, saw@jlab.org