Hi Use the following methods from the Date::Calc module from CPAN:
Week_of_Year: ($week,$year) = Week_of_Year($year,$month,$day); Monday_of_Week: ($year,$month,$day) = Monday_of_Week($week,$year); Add_Delta_Days: ($year,$month,$day) = Add_Delta_Days($year,$month,$day, $Dd); Shouldn't be too hard I think. ons 2004-07-07 klockan 06.03 skrev Chris Puccio: > Hi Guys, > > I'm having a real hard time trying to figure this out.. > > There are tons of modules on dates, etc, but I can't seem to find one to do > what I need. > > I have one date, for example: 2004-07-07. > > I need to take that date, get Monday's date and Sunday's date where 2004-07-07 > is between. > > Any suggestions? > > Thanks!! > -c -- Johan Viklund <[EMAIL PROTECTED]>
signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel