[kw-pm] Date Difference Question

Matt Sergeant matt at sergeant.org
Thu Jan 31 08:58:56 PST 2008


On 31-Jan-08, at 11:44 AM, Robert Pike wrote:

> Hi All,
>    What's the easiest/best way to find the difference
> (in days) between 2 dates? I'm basically looking for
> the difference between a varying date and Jan 1, 1968.
> Appreciate any helpful info.

Either Time::Piece (part of perl 5.10) or DateTime. Both can do date  
differences.


More information about the kw-pm mailing list