adjust day range