in reply to Date difference?
At the risk of giving you a RTFM answer, see Date::Calc, and more specifically Delta_DHMS:
use Date::Calc qw/Delta_DHMS/; ... my @date_one = qw/2002 04 25 23 12 40/; my @date_two = qw/2002 03 23 15 25 21/; my ($dd, $dh, $dm, $ds) = Delta_DHMS(@date_one, @date_two);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Date difference?
by chicks (Scribe) on Apr 29, 2002 at 01:46 UTC | |
by jlongino (Parson) on Apr 29, 2002 at 02:38 UTC | |
by chicks (Scribe) on Apr 29, 2002 at 03:07 UTC | |
by jlongino (Parson) on Apr 29, 2002 at 03:39 UTC |
In Section
Seekers of Perl Wisdom