select posts from the last month : <p>In a table <code>posts</code> I have a column named <code>date</code> format - <code>datetime</code> - <code>current timestamp</code> and need to select posts from the last month only.  </p>

<p>All dates in the column are from december 2016. for example - <code>2016-12-09 04:25:00</code></p>

<pre><code>&lt;?php
$start = strtotime("-1 month"); // 1488285716
$stmt = $db-&gt;query("SELECT * FROM posts where date &gt; " . $start . " order by...");
?&gt; 
</code></pre>

<p>But all posts are selected!  Resulut should be zero.<br>
Any help?</p>
