hridyesh pant wrote:
Hi,
i have two date string reading from the log file like below.
$date1="Mon Mar 27 02:45:15 2006";
$date2="Wed Apr 5 23:20:46 2006";
$Number_of_Days = $date1-$date2;
i want to get number of days between these two dates.
Can someone help me.
Excellent summary of most methods at
http://perlmeme.org/faqs/datetime/comparing_dates.html.
Regards
James Turnbull
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>