in reply to Re: Re: Calculating date from a fixed point
in thread Calculating date from a fixed point
One More Question if you would allow me.
How to push the result to a variable? I tried the following and it worked but the formatting was of course lost doing it this way.
what I did
which gave me 1999919use Date::Calc qw/Add_Delta_Days/; my $delta = 72583; my ($year,$month,$day) = Add_Delta_Days(1800,12,28,$delta); $newdate = $year$month$day; printf "$newdate \n";
How do I put this to a variable with the formatting you used?
thanks for your great help =)
aschroh
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: RE: Calculating date from a fixed point
by Enlil (Parson) on Apr 17, 2003 at 21:28 UTC | |
by aschroh (Novice) on Apr 17, 2003 at 22:03 UTC |