in reply to
How do I find difference between two timestamps?
Perl's DateTime modules provide an excellent way of dealing with dates and times. Your problem is very similar to one of DateTime's FAQs.
I have absolutely zero preference
Results (60 votes),