Modify time domain when datepicker values change