this how you make an HTML5 tag correctly in the "datetime" attribute you should put a machine-readable value which represent time , the best value is a full time/date with ISO ...
php.net