title: Timestamp comparing in timestamp range?
body: <p>I currently have 2 timestamp fields in my RubyOnRails database defined as:</p>
  
  <pre><code>starttime:timestamp
  endtime:timestamp
  </code></pre>
  
  <p>I want to write a simple function in my controller which will take the <strong>current time</strong> and <strong>return TRUE if it lies in the range of the starttime &amp; endtime</strong>. </p>
  
  <p>How I can do this?</p>