develooper Front page | perl.beginners | Postings from January 2002

add 3 months

Thread Next
From:
Mark Frater
Date:
January 8, 2002 20:39
Subject:
add 3 months
Message ID:
028501c198c7$75c45700$0a8259ca@quicksilver.co.nz
I'm missing something..

use Date::Manip;
$paidto ="Mon May 19 23:00:00 2003 NZST";
$newpaid = &DateCalc($paidto,"+3 month",\$err);
 print "paidto =$paidto\n";
 print "newpaid = $newpaid\n";

output
paidto =Mon May 19 23:00:00 2003 NZST
newpaid =



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About