I am storing the date (2007-08-23 11:11:12) in a datetime field in MYSQL DB.
I wish to display it as: '23rd Aug 2007' but cant seem to achive this??
Im fetching the last login time from the Db when I log the user in and storing it in a session.
Can anyone possibly help?PHP Code:
$last_login = date("Y-m-d H:i:s", $_SESSION['lastlogin']);