JavaScript: IF time >= 9:30 then
<p>I'm trying to write a statement that says "if time is this and less than that then".  I can use get hours and get min.  However, I'm having problems combining a time such as 9:30.</p>

<p>Example,</p>

<pre><code>var now = new Date();
var hour = now.getHours();
var day = now.getDay();
var mintues = now.getMinutes();

if (day == 0 &amp;&amp; hour &gt;= 9 &amp;&amp;  &amp;&amp; mintues &gt;= 30 } &amp;&amp; hour &lt;= 11) { 
    document.write(now); 
}
</code></pre>

<p>This only if the time is less between 9:30 10.  As soon as the clock hits 10 the minutes are then &lt; 30 and the script breaks.</p>

<p>Any thoughts on how to better incorporate the time function to make this theory work?</p>

<p>Thanks,</p>
