in reply to Date to Day
It's a little involved but it should get you going. There are *many* more excellent and speedy routines in Date::Calc.
use Date::Calc qw( Today Add_Delta_Days Day_of_Week_to_Text Day_of_Week ); my @today = Today(); my $days_in_the_future = shift || 0; my @then = Add_Delta_Days( @today, $days_in_the_future ); print Day_of_Week_to_Text( Day_of_Week( @then ) ), "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Date to Day
by blokhead (Monsignor) on Aug 25, 2004 at 21:40 UTC | |
by JoeJaz (Monk) on Aug 25, 2004 at 22:10 UTC | |
|
Re^2: Date to Day
by JoeJaz (Monk) on Aug 25, 2004 at 21:52 UTC | |
by davorg (Chancellor) on Aug 26, 2004 at 07:34 UTC | |
by isotope (Deacon) on Aug 25, 2004 at 22:11 UTC |