note
davidrw
here's a [mod://Date::Calc] solution -- assumes "business day" is just M-F, so adding 10 just needs to add in the two weekends as well, so is simply:
<code>
use Date::Calc qw/Add_Delta_Days/;
my @start = ( $year, $month, $day );
my @end = Add_Delta_Days( @start, 14 );
</code>
If you want to take into account holidays, see the "10) How can I calculate the last business day (payday!) of a month?" example in the [mod://Date::Calc] docs for reference.
597370
597370