php time h-ms code example Example: show date php by letters check here link: http://www.eltcalendar.com/stuff/datemysqlphp.html