from_date:2010-06-01 (yyyy-mm-dd) to_date: 2011-01-01 I want to split the date range 3 equal proportions like from_date:2010-06-01 mid_date_1:2010-09-01 mid_date_2:2010-09-02 to_date:2011-01-01