If I set $time = localtime; at the top of the script and $endtime = localtime; at the bottom, all I would have to do is subtract $time from $endtime to see how long it took, right?
I just want an easy way to see how long it took to complete in terms of hours, minutes and seconds.