Is there a way to validate if my time period falls on the same date?
let startTime = currentSelection.startTimeHr + ":" + currentSelection.startTimeMin + " " +
currentSelection.startTimeAMPM;
let endTime = currentSelection.stopTimeHr + ":" + currentSelection.stopTimeMin + " " +
currentSelection.stopTimeAMPM;
startTime = 02:30 AM
endTime = 06:45 PM
I am looking for a boolean value (true/false) as the validation result.