$urodziny = new DateTime(implode('-', array(
(int) substr($pesel, 0, 2) + 1800 + (((floor(((int) $pesel{2}) / 2) + 1) % 5) * 100),
substr($pesel, 2, 2),
substr($pesel, 4, 2),
))
);
return $urodziny->format('Y-m-d');
Źródło: http://d9.com.pl/php-pesel/