Debian logoDebian Screenshots >

libtime-duration-perl

module for rounded or exact English expression of durations

Description

Time::Duration provides functions for expressing time spans in rounded or exact terms. So while

   say duration_exact(86399);

will correctly give "23 hours, 59 minutes, and 59 seconds",

   say ago(86399);

will output the rounded time span as "1 day ago".

The provided functions are duration(), ago(), from_now(), later() and earlier(), along with their *_exact counterparts. The precision used for rounding can be specified, and version 1.10 added a millisecond mode.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.


Homepage

https://metacpan.org/release/Time-Duration


Statistics

4 other people were interested in this package here. The newest known version of this software is 1.20-1 (Information last updated 1 day ago.)