Best way to use time in if statements

I think if this was my project I would do all my time calculations using minutes after midnight. For example 1pm would be 780 minutes. That makes tests with IF much simpler.

...R