in reply to Calculating date from a fixed point
-enliluse strict; use warnings; use Date::Calc qw/Add_Delta_Days/; my $delta = 72583; my ($year,$month,$day) = Add_Delta_Days(1800,12,28,$delta); printf "%4d%02s%02s",$year,$month,$day;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Calculating date from a fixed point
by aschroh (Novice) on Apr 16, 2003 at 16:26 UTC | |
by aschroh (Novice) on Apr 17, 2003 at 20:59 UTC | |
by Enlil (Parson) on Apr 17, 2003 at 21:28 UTC | |
by aschroh (Novice) on Apr 17, 2003 at 22:03 UTC |