Help for this page

Select Code to Download


  1. or download this
    # WARNING -- it's left to the reader to properly compare the values (c
    +an't do '01:40' < '01:30')
    if start <= end
    ...
    else   # end < start
      return 1 if  ( start <= t and t <= 23:59 ) or ( 00:00 <= t and t <= 
    +end )
    endif