TimeConvert reviews

cpanratings
 

RSS | Module Info | Add a review of TimeConvert

TimeConvert (TimeConvert0.5) *

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.

Use Time::Duration

TimeConvert (TimeConvert0.5) *

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.