Tidbits | March 19, 2007

DateTime: Common Calcuations

by Frank Wiles

Over the course of the last year or so I've fallen in love with DateTime set of modules. However, I think their docs are a bit lacking for some simple calculations. Often I need to know how many hours, minutes, or seconds ( or some combo of them ) exist between two DateTime objects.

2007-03-19T03:33:13 2018-04-18T16:09:40.971958 2007 perl