title: PHP strtotime returns a 1970 date when date column is null
body: <p>I want to display $row->depositdate in dd-mm-yyyy format.</p>
  
  <p>If the date column in database is null the date displayed is : <strong>01-01-1970</strong></p>
  
  <pre><code>echo "&lt;td align=center&gt;".date('d-m-Y', strtotime($row-&gt;depositdate))."&lt;/td&gt;";
  </code></pre>
  
  <p>If the date is null in database it should display nothing , otherwise the date in dd-mm-yyyy format should be displayed.</p>
  
  <p>Thanks in advance</p>
  
  <p>Sandeep</p>