in reply to how to compare time between 2 fields ?

Hi!

I propose to address this in several steps:

  1. convert both dates to a common internal format you define (e.g. by parsing the line with a regex)
  2. compare the converted dates - possibly using a module like Date::Calc

Depending on how you will use it, the internal format may be some sort of epoch-number or simply a set of variables like $day1, $day2, $mon1, $mon2 ...

If the approach above doesn't help you and you are stuck at a specific place, just post your code, so we may give you more hints!

HTH, Rata