Hi
anne,
Check out the module
Date::Calc.
In the
documentation there is a
recipe titled "How do I compare two dates with times? How do I check whether two dates and times lie more or less than a given time interval apart?" which should be of use to you.
Hope this helps.
Martin