in reply to Date Calculation

You could try Date::Calc. From its docs:

8) How can I add a week offset to a business date (including across year boundaries)?
use Date::Calc qw( Business_to_Standard Add_Delta_Days Standard_to_Business ); @temp = Business_to_Standard($year,$week,$dow); @temp = Add_Delta_Days(@temp, $week_offset * 7); ($year,$week,$dow) = Standard_to_Business(@temp);

Phil

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.