RE: delta time/date

2002-03-06 Thread Wagner-David
] 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

Re: delta time/date

2002-03-06 Thread Tirthankar C. Patnaik
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(

RE: delta time/date

2002-03-06 Thread John Edwards
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

delta time/date

2002-03-06 Thread Dittrich G . Michael
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