Python After 5:00pm
<p>When a function runs I need it to check the current system time and if its past 5:00pm to do something.</p>

<pre><code>current_time = datetime.datetime.now()
if current_time &gt; {code to represent 17:00 hours}:
    do stuff
</code></pre>

<p>Edit for clarification:
Orders are being sent into my software which handles the picking/packing of orders in a distribution center. If the order is sent into the system after 5:00 then that order needs to get flagged so that it isn't "picked" until the following day. So the function needs to be run as orders are "imported" </p>
