Thank you kindly, Neil Smith and Brent Baisley. I now see the error of my approach. --------------------------------------------------------------------------------------------------------------- $dateArray = array(); > for($counter = 0; $counter <= 3600; $counter++) > { > $dateArray[ date("Y.m.d H:i:s", $now - $counter) ] = > (int)ceil(980 - ($counter * .2333333333333))); > } --------------------------------------------------------------------------------------------------------------- works just fine. note: Brent, the array(3601) was coming from the $counter loop above and is the seconds in an hour plus one ( for aesthetic reasons ). David