in reply to Extracting Log File data for a given date range

I'd go the opposite way: go through the lines, for each line check whether it falls within the range, report if yes. Using a simpler timestamp (2011-12-24_23.11.22) would make your problem even easier - simple string comparison would work.
  • Comment on Re: Extracting Log File data for a given date range

Replies are listed 'Best First'.
Re^2: Extracting Log File data for a given date range
by vishi (Beadle) on Dec 13, 2011 at 13:29 UTC
    Agreed, but how do I get hold of all the dates in the range I have?

      If you convert all dates to the format yyyy-mm-dd, you can simply use ge and lt to compare whether a date lies in your range or not.