Matt, I was hoping that Time::Object and Time::Seconds were part
of the Perl distribution, but I couldn't find it in Perl 5.005_03
nor 5.6.  I did find it on CPAN - do you know if these will become
part of the standard distribution at some point?

Hardy Merrill

Matt Sergeant [[EMAIL PROTECTED]] wrote:
> On Tue, 6 Feb 2001, Kiran Kumar M wrote:
> 
> > 
> > 
> > Hi,
> > 
> > How can I get the Date + some days (for example 6th of Feb 2001 + 10
> > should give 16th of Feb 2001...). How can I achieve this. I installed
> > Date::calc perl module...
> 
> use Time::Object;
> use Time::Seconds;
> my $today = localtime;
> my $today_plus_ten = $today + ONE_DAY * 10;
> 
> print "Ten days from now is: $today_plus_ten\n";
> 
> -- 
> <Matt/>
> 
>     /||    ** Director and CTO **
>    //||    **  AxKit.com Ltd   **  ** XML Application Serving **
>   // ||    ** http://axkit.org **  ** XSLT, XPathScript, XSP  **
>  // \\| // **     Personal Web Site: http://sergeant.org/     **
>      \\//
>      //\\
>     //  \\
> 

Reply via email to