This is a perl module for dealing with time intervals. Among other things, this module can tell you the number of hours, minutes, and seconds elapsed between two dates. WWW: https://metacpan.org/release/Time-Interval