$tarih = explode('-', '2013-09-23'); $yil = $tarih[0]; $ay = $tarih[1]; $gun = $tarih[2]; echo "$gun-$ay-$yil";