I've got a date being pulled from a MySQL date field. In the database the date look like this:
I want to format this so it appears:
10th May 07
I've tried this:
But that renders in the browser as:Code:print date("j M y",$db_field['tstamp'])
1 Jan 70
It should say 10 May 2007.
Can anyone see why this is happening?