in reply to how to compare time between 2 fields ?

Rather than attempt to roll your own conversion package, check CPAN for modules in the Date... and Date::xxx families.

Conversion among datetime formats is fraught with many complications; adopt one of Perl's desiderata: laziness.

  • Comment on Re: how to compare time between 2 fields ?