in reply to How to compare time
$time_secs is now epoch seconds, and comparing two times in epoch seconds is trivial.use Time::Local; my $time_secs = timelocal($secs, $min, $hour, $day, $mon, $year);
for more information, documentation, etc.perldoc Time::Local
You may also want to check out Date::Manip.
|
|---|