php tarih biçimi dd / aa / yyyy
date("d/m/Y", strtotime($str));
php tarihi dd / aa / yyyy'den yyyy-aa-dd'ye dönüştürme
$date = DateTime::createFromFormat('d/m/Y', "24/04/2012");
echo $date->format('Y-m-d');
php, tarihi dd/AA/yyyy'den yyyy-AA-dd'ye dönüştürür
$date = DateTime::createFromFormat('d/m/Y', "24/04/2012");
echo $date->format('Y-m-d');
php tarih biçimini d/m/Y'den y-m-D'ye değiştirin
$var = '20/04/2012';
$date = str_replace('/', '-', $var);
echo date('Y-m-d', strtotime($date));