I need to get the start date, start time, end date and end time values separately that I got with the daterangepicker.
startinnerDate = document.getElementById('reservationtime').value;
Incoming value: "07/14/2021 12:00 AM - 08/10/2021 11:00 PM"
how can i separate it?
Not the optimal one and not flexible, but very clear for understanding