php ambil tahun dari tanggal

$year = date("y",strtotime($mydate));
Carnivorous Flamingo