]
Subject: delta time/date
I try to find a quick and uncomplicated way to calculate the difference between one
and another date/time:
@date1 = ($year1, $month1, $day1, $hour1, $minute1);
@date2 = ($year2, $month2, $day2, $hour2, $minute2);
@deltaDateTime = "difference"(@date1, @date
You might want to try out the Date::Manip package. It has a function
&Date_Cmp which compares any two dates. You first read the date through the
function &ParseDate in the module, and then compare the dates through
&Date_Cmp.
HTH,
-tir
--
Tirthankar, IGIDR.
+91-22-8400919 x275 (r), x593(
Yeah, use the Date::Calc module or maybe Date::Manip.
John
-Original Message-
From: Dittrich G. Michael [mailto:[EMAIL PROTECTED]]
Sent: 06 March 2002 17:13
To: [EMAIL PROTECTED]
Subject: delta time/date
I try to find a quick and uncomplicated way to calculate the difference
between
I try to find a quick and uncomplicated way to calculate the difference between one
and another date/time:
@date1 = ($year1, $month1, $day1, $hour1, $minute1);
@date2 = ($year2, $month2, $day2, $hour2, $minute2);
@deltaDateTime = "difference"(@date1, @date2);
print "@deltaDateTime\n";
0 0 0 12