Another suggestion - since it looks like you are comparing military time, it will be easier to make the comparison if you drop the ":".
You can do this with sed or tr or even cut very easily.
After that, you can do the if comparison. Otherwise you will need to use cut to break each time into two integers for comparison with three logics!
Reputation Points: 13
Solved Threads: 9
Junior Poster in Training
Offline 58 posts
since Apr 2008