RE: Subtracting Zero Dates

2004-06-18 Thread Tim Johnson
] Cc: Subject: Re: Subtracting Zero Dates they are all ready in time format, that is the problem. Example: $time1 = Date_to_Time($year,$month,$day, $hour,$min,$sec); $time2 = Date_to_Time($year,$month,$day, $h

Re: Subtracting Zero Dates

2004-06-18 Thread Werner Otto
they are all ready in time format, that is the problem. Example: $time1 = Date_to_Time($year,$month,$day, $hour,$min,$sec); $time2 = Date_to_Time($year,$month,$day, $hour,$min,$sec); $difference = $time1 - $time2; One way: Convert both dates to Perl time() format, then subtract. -Origi

RE: Subtracting Zero Dates

2004-06-18 Thread Tim Johnson
One way: Convert both dates to Perl time() format, then subtract. -Original Message- From: Werner Otto [mailto:[EMAIL PROTECTED] Sent: Fri 6/18/2004 3:28 AM To: [EMAIL PROTECTED] Cc: Subject: Subtracting Zero Dates