why do we format time as h:i:s in php code example Example: show date php by letters check here link: http://www.eltcalendar.com/stuff/datemysqlphp.html