php format year, begin with date code example
Example 1: date time format php
$today = date("F j, Y, g:i a"); // March 10, 2001, 5:16 pm
Example 2: show date php by letters
check here link: http://www.eltcalendar.com/stuff/datemysqlphp.html