I find it difficult to calculate time difference using PHP. How to calculate time difference in HH:MM:SS format (hours:minutes:seconds) between two different dates?
For example, the input is:
$start_time : 19:30 $end_time : 7:30, $currenttime = 21:30
I have to find out current time has match with given start time and end time.