How to get date with st nd or th using formatdate

So i guess i’ll do it in php but how to access the record field?

<?php echo date('dS F Y', next_birthday);?> didn't work.