title: Select timestamp interval of 2 weeks / days
body: <p>Table: <code>donate</code></p>
  
  <p>Columns: <code>donate_id, donate_active, donate_time</code></p>
  
  <p><code>donate_time</code> value is a <code>unix_timestamp</code></p>
  
  <p>I have to select all entries 2 weeks before reaching the donate_time, to send a reminder email. </p>
  
  <p>I tried many ways, but I always get a syntax error. </p>
  
  <pre><code>SELECT * FROM donate 
  WHERE donate_time &gt;= UNIX_TIMESTAMP(DATE_SUB(NOW(), INTERVAL 2 WEEK))
  </code></pre>