title: How to check if time is in range using Rails
body: <p>There is the following times:</p>
  
  <pre><code>   now =  "2014-01-24T15:58:07.169+04:00",
     start = "2000-01-01T10:00:00Z",
     end = "2000-01-01T16:00:00Z"
  </code></pre>
  
  <p>I need to check if now is between start and end. I use the following code:</p>
  
  <pre><code>Range.new(start, end).cover?(now)
  </code></pre>
  
  <p>Unfortunately, this code returns false for my data. What am I doing wrong? How can I fix it? Thanks. </p>