change date array