title: Check if $date is equal to 0000-00-00 00:00:00
body: <p>I want a logic if $due is equal to no date then I want data starting with 2000. My code below is not working.</p>
  
  <pre><code>if($due == '0000-00-00 00:00:00'){
      $due =  strtotime('2000-00-00 00:00:00');
  }
  </code></pre>