scheduling changing date comparison