title: Query for rows added within 15 minutes
body: <p>I have a date/time saved in the <code>entry_date</code> column of my database - Example: <code>1436459520</code></p>
  
  <p>I am trying to grab only the entries that where added in the last 15 minutes.</p>
  
  <p>I thought the following would work, but nothing is returned.</p>
  
  <pre><code>$this-&gt;EE-&gt;db-&gt;select('entry_id, entry_date')
                       -&gt;from('exp_channel_titles')
                       -&gt;where('FROM_UNIXTIME("entry_date") &gt;= DATE_SUB(CURDATE(), INTERVAL 15 MINUTE)', NULL, FALSE);
  </code></pre>
  
  <p>Firstly, I notice that my dates are being saved as GMT, how can I ensure the current date is GMT to?</p>
  
  <p>Can anyone please tell me if there is anything particularly else wrong here? </p>
  
  <p><strong>Update</strong></p>
  
  <p>I have tried:</p>
  
  <pre><code>FROM_UNIXTIME("entry_date") &gt;= (now() - interval 15 minute)
  </code></pre>
  
  <p>Which also doesn't work.</p>