A lousy reimplementation of Time::Duration, with nothing to do with unix epoch seconds. It converts durations in seconds to English, using an object for no clear reason.
1 out of 1 found this review helpful. Was this review helpful to you? Yes No
The functionality for converting between "unix seconds to years, days, hours and minutes" can be done with the gmtime function.
Worse, it returns a string "$years years, $days days, $hrs hours, $min minutes and $sec seconds." (from the source code, it's not documente how the result is formatted). So this is not much use.
Was this review helpful to you? Yes No