On most posts on my website the date is displayed. There are however some posts where I would not like to show the date.
Would it be better to use display:none;
via css or actually remove the code for the date altogether.
Here is an example of the code I use (generated by a php function)
<span class="posted-on">Posted on <time class="entry-date published" datetime="2014-07-21T18:15:52+00:00">July 21, 2014</time><time class="updated" datetime="2014-07-21T18:17:35+00:00">July 21, 2014</time></span>
The reason I ask is that I was under the impression, even if I don't want to display the date, that the timestamp would be useful to search engines.
Currently I use display:none;
when I don't want to show the date.