Or, for the lazy...
use Date::Manip; my @sec = map UnixDate($_, "%s"), "Aug 26 23:10:59", "Aug 27 10:59:02" +; printf "diff secs: %d\n", $sec[1] - $sec[0]; # = 42483
In reply to Re: Finding the difference between 2 dates in seconds
by almut
in thread Finding the difference between 2 dates in seconds
by qsl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |