title: How to check in python if I'm in certain range of times of the day?
body: <p>I want to check in python if the current time is between two endpoints (say, 8:30 a.m. and 3:00 p.m.), irrespective of the actual date. As in, I don't care what the full date is; just the hour. When I created <code>datetime</code> objects using <code>strptime</code> to specify a time, it threw in a dummy date (I think the year 1900?) which is not what I want. I could use a clumsy boolean expression like <code>(hour == 8 and minute &gt;= 30) or (9 &lt;= hour &lt; 15)</code> but that doesn't seem very elegant. What's the easiest and most pythonic way to accomplish this?</p>
  
  <p>Extending a bit further, what I'd really like is something that will tell me if it's between that range of hours, and that it's a weekday. Of course I can just use <code>0 &lt;= weekday() &lt;= 4</code> to hack this, but there might be a better way.</p>