• if you're sure that no even would ever take longer than 24 hours then you can use this trick:

    SELECT (24*60 + DATEDIFF (MINUTE, '19:00' , '00:00'))%(24*60)

    But anyway, I'd recommend you to follow the advices above.

    _____________
    Code for TallyGenerator