http://www.perlmonks.org?node_id=851161


in reply to Re: Comparing timestamps that are in 2 different but defined styles
in thread Comparing timestamps that are in 2 different but defined styles

Concept is great, but OP just has to be careful when implementing it, as edge conditions always bite us. 8:59:01 compared to 9:00:00 is less than a minute to my eye, but wouldn't pass the generally correct test.

Similar problem with 9:00:59 and 9:01:01, when you're comparing seconds ...

  • Comment on Re^2: Comparing timestamps that are in 2 different but defined styles