add time to startdate and end date