in my database default value of date is set to not null 0000-00-00
and i use the date format date("F j, Y, ");
to print out the date.
if i echo the date using strtotime
function in the following way,
echo date("F j, Y", strtotime($row_schedule['meeting_date']));
it returns November 30, -0001
based on the set default date 0000-00-00
whereas if i update the default value of date from 0000-00-00
to a real time date like, 2013-02-28
it gives the appropriate output as it should be like,
February 28, 2013
my question is how can i print default date as 0000-00-00
but not November 30, -0001
using my current output method?