title: Datetime is before or after datetime
body: <p>I have two strings like this:</p>
  
  <pre><code>$stringA = '2017-05-05 12:06:00';
  $stringB = '2017-04-05 16:32:00';
  </code></pre>
  
  <p>How can I see if <code>$stringB</code> is before or after <code>$stringA</code>?</p>
  
  <p>I was thinking something like this:</p>
  
  <pre><code>if($stringB &gt; stringA) {
      echo "string B is still in the future!";
  }
  </code></pre>