hridyesh pant <mailto:[EMAIL PROTECTED]> scribbled on Wednesday, April 05, 2006 11:25 PM:
> 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. Sure. What did you try till now? Anyway, perldoc -q 'How can I compare two dates and find the difference?' -Ankur $SIG{ALRM} = { snooze; sleep 300; } -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>