$date = new DateTime('2015-11-30 12:34:56');
$val1 = $date->format('Y-m-d');
$val2 = $date->format('m-d');

//2016-02-29追記
//抜き出すだけならstrtotimeで一行で可能
echo date('Y-m-d', strtotime($date));


▲上に戻る