if text >= '06:00' and text <= '06:10':
    if text >= '20:00' and text <= '20:10':