title: Check if date is empty
body: <p>In a <code>while</code> loop how can I have a date displayed <em>only</em> if that date exists?</p>
  
  <p>E.g.:  If date is <code>0000-00-00</code>, display nothing.</p>
  
  <p>I am currently reading the date as follows, but I am getting <code>01-01-1970</code> when <code>0000-00-00</code>:</p>
  
  <pre><code>date('d-m-Y', strtotime($row['date']))
  </code></pre>