Sped up date_to_biweek parent function.