PHP date_format(): How to format date from string value
<p><strong>I have a bit of PHP code:</strong></p>

<pre><code>$exd = date_create('01 Dec, 2015');
$exd = date_format($exd, 'Y-m-d');
echo $exd;
</code></pre>

<p>Which is used for formatting the date. The expected output would be <code>2015-12-01</code> but it returns <code>2016-12-01</code>. What am i missing?</p>