How to set time to be 11:59PM always and disable the time picker using jquery and Angular8
问题 Hi i have used Angular8+ and Jquery to bind calendar into the input field.But irrespective of time zone, i always want to show time to be 11:59PM and disable the Time Picker and set that to 11:59PM by default. Can anyone help me how to make this work. TS: $(".onlyDate").datetimepicker({ format: "L" }); let dat = null; $(".onlyDateTime") .datetimepicker() .on("dp.hide", e => { const date = e.date; let dat = e.date.format("L"); this.Restrictions[this.selectedIndex].datetime = dat.format("MM/DD