I\'m writing a script were I have to check if a time range is between two times, regardless of the date.
For example, I have this two dates:
$from
This code works for me
if($start_time<=date("H:i") && $end_time>=date("H:i")) {
}