Check if time is between two time inputs.

I only have two time inputs, which is just 13:00 and 07:00

Then enter an arbitrary date for the first time, and one day later than that for the second time. How difficult is that?