The time comes to me in this format
$time='16:00:00/23:00:00';
You need to separately get 16:00:00 and separately, then what after the slash 23:00:00
Googled how to get the second part:
date_format(date_create_from_format('H:i:s/H:i:s',$time),'H:i:s'); Displays 23:00:00 . But how to get the first one? Thank.
explode('/', $time);and process the array with the clock? - user207618explodefor this and created. - user207618