time stamp phph to format code example Example: php timestamp format date("d.m.Y", strtotime($mysqltimestamp)