perldoc perlfaq ----- Original Message ----- From: "Brian Volk" <[EMAIL PROTECTED]> To: "Tim Musson" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, September 08, 2002 2:04 AM Subject: Re: system function question
> Thank you. I didn't realize you could do that... How can you find a > list of all the questions in perldoc? > > Thanks again, > > Brian > > Tim Musson wrote: > > >Hey Brian, > > > >My MUA believes you used Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011126 Netscape6/6.2.1 > >to write the following on Saturday, September 7, 2002 at 10:00:23 PM. > > > >BV> Hi All, > > > >BV> I'm trying to write a program that will calculate the number of days > >BV> between two dates. I thought it would be easy enough to write... but I > >BV> thought wrong. > > > >BV> One of the dates is fixed: > >BV> $start_date = system "date --d 20020607"; > > > >BV> The other date is the current date: > >BV> $todays_date = system "date"; > > > >BV> I'm not sure how to subtract the two dates to calculate the number of > >BV> days between. Any help would be greatly appreciated. > > > >perldoc -q "How can I compare two dates and find the difference?" > > > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]