pickerOptions1: { disabledDate: time => { if (this.endTime) { return ( time.getTime() > new Date(this.endTime).getTime() || time.getTime() < Date.now() ); } else { return time.getTime() < Date.now(); } } }, pickerOptions2: { disabledDate: time => { if (this.startTime) { return ( time.getTime() < Date.now() || time.getTime() < new Date(this.startTime).getTime() ); } else { return time.getTime() < Date.now(); } } }