Are you pulling the values from your DB?
MySQL defaults to 0000-00-00 when it can't understand a given date. Likewise, strtotime() defaults to 1969-12-31 when it doesn't understand a date. (I don't know why you're getting "-0001-11-30"; I couldn't reproduce that.)PHP Code:<?php
// are you _sure_ that $client['edited'] === '0000-00-00' ...?
// try passing '0000-00-00' directly ...?
echo date( "Y-m-d",strtotime( '0000-00-00' ) );
// output: 1969-12-31
echo date( "Y-m-d",strtotime( '2012-05-30' ) );
// output: 2012-05-30

