in reply to Selecting a particular record from groups of records
i think, it is better to take a look at your file, first. however, i can have a recommendation. take date/time as a hash key and use references for a complex array in array.