in reply to
Split date range into 3 equal parts
Don't know about Date::Calc, but using DateTime...
use DateTimeX::Auto 0.003 qw/:auto/;
my $from = '2010-06-01';
my $to = '2011-01-01';
my $diff = $to->delta_days($from)->in_units('days');
my $mid_date_1 = $from->clone->add(days => $diff/3);
my $mid_date_2 = $to->clone->subtract(days => $diff/3);
mid 1: $mid_date_1
mid 2: $mid_date_2
UPDATE: Just released 0.003 of DateTimeX::Auto because the script above was crashing on add and subtract.