title: How can I create a zero DateTime with php?
body: <p>I need to create an empty date with DateTime(). So, all zeros. The time should be displayed in that way: <code>0000:00:0:00:00</code>.</p>
  
  <p>What I have tried:</p>
  
  <pre><code>$date = new DateTime("2019-05-09 12:07");
  $date-&gt;setTime(0, 0);
  $date-&gt;setDate(0, 0, 0);
  echo $date-&gt;format("Y:W:j:H:i");
  </code></pre>
  
  <p>That outputs</p>
  
  <pre><code>-0001:49:30:00:00
  </code></pre>
  
  <p>instead of <code>0000:00:0:00:00</code></p>
  
  <p>What could I do to achieve a zero datetime?</p>