I am attempting to check if a given time string variable type is within a time range.
Examples of a time string variable could be anything like eg. “27/08/2021 4:30:00 PM”, “31/08/2021 11:00:00 AM”
What is the best approach to be able to identify if the time from the string variable is within the time range for example: 10am - 2pm
So I want to be able to return the true boolean value if the example “31/08/2021 11:00:00 AM” is within the time range 10am - 2pm
The given time is not in date time type as it’s set in a string variable type