Hallo

Von / Bis als Timestamp erzeugen

und mit SQL HOUR(Von-Bis) , Minute(von-Bis),
Second(von-bis) auswerten

Gruß
Joe