To solve this problem, you can try to change your thinking. Instead of adjusting the date control, you can focus on how to process the value of the input box twice.
Listen to the change event of the input box, obtain the time string and convert it back to the timestamp for processing; then convert the timestamp to the format of year, month and day, and then splice it into 23:59 yourself. Hope it helps you.
To solve this problem, you can try to change your thinking. Instead of adjusting the date control, you can focus on how to process the value of the input box twice.
Listen to the change event of the input box, obtain the time string and convert it back to the timestamp for processing; then convert the timestamp to the format of year, month and day, and then splice it into 23:59 yourself. Hope it helps you.