title: Greater than (>) not working in mysql query
body: <p>I'm trying to run a query on my WordPress database to get a list of all posts and some other data from a certain month. I'm running into an issue with <code>post_date</code>, where looking for posts before a certain date works fine, but looking for posts after a certain date returns 0 results.</p>
  
  <p>This example returns 0 results:</p>
  
  <pre><code>SELECT * FROM `wp_posts` WHERE `post_date` &gt; '2014-01-01 00:00:00';
  </code></pre>
  
  <p>However this returns a ton of results:</p>
  
  <pre><code>SELECT * FROM `wp_posts` WHERE `post_date` &lt; '2014-01-01 00:00:00';
  </code></pre>
  
  <p>There are posts published after 2014-01-01, so that's not the problem.</p>
  
  <p>Any ideas?</p>