in reply to Extract data between certain dates using YYYYMMDDHH timestamp

In addition to Corions splendid suggestions, you might also consider Date::Calc to do the conversion/difference calculations...

A user level that continues to overstate my experience :-))
  • Comment on Re: Extract data between certain dates using YYYYMMDDHH timestamp