I have a bit of php codeI have a bit of PHP code:
$exd = date_create('01 Dec, 2015'); $exd = date_format($exd, 'Y-m-d'); echo $exd; whichWhich is used for formatting the date. The expected output willwould be 2015-12-01 but it returns 2016-12-01. Where i'mWhat am i missing?