title: PHP - strtotime() return 1970
body: <p>The following code snippet:</p>
  
  <pre><code>echo date("d.m.Y-H:i:s", strtotime("01.01.2000-11:12:32"));
  </code></pre>
  
  <p>returns me:</p>
  
  <blockquote>
    <p>01.01.1970-01:00:00</p>
  </blockquote>
  
  <p>What's the right way to convert "01.01.2000-11:12:32" to time/date object, for comparing it with the current timestamp?</p>
  
  <p>e.g.</p>
  
  <pre><code>if (date("d.m.Y-H:i:s") &gt; date("d.m.Y-H:i:s", strtotime("01.01.2000-11:12:32"))) {
      echo "future";
  } else {
      echo "past";
  }
  </code></pre>