Jeff Thies said:
Any thoughts on "Last Modified Date" for web pages.
They are wrong so often that they are unreliable. At least such text
should not _look like_ the usual JavaScript-generated stuff that relies
on what the server sends (which is almost always correct _in a sense_,
but not necessarily the right sense).
Is the format or associated markup important?
The format is relevant to human beings that may have difficulties in
understanding different date formats, such as 12/2/2004.
Something like this OK?
<div>Last Modified: Mon Jul 12, 2004</div>
I see little reason to include the day of the week or to use a three-
letter code for the month, instead of a month name.
I see many reasons to use consistently ISO 8601 conformant notation like
2004-08-12. To begin with, most users are only interested in the year, so
it should coeme first. Second, the format is recognizable as a date
notation, and it is virtually certainly unambiguous - no question about
which is month and which is day of month.
In very special cases (a very frequently changing page), one might even
include the time. Then make sure the time zone is expressed, e.g.
2004-08-12 14:15:00Z
(technically it should be 2004-08-12T14:15:00Z according to ISO 8601, but
this notation is fairly hard to read and very rarely used).
In as much as this is also sent in the header, I would think that
even a client side way of adding this would suffice. (But I'll
probably do it server side)
If you use client side scripting to generate it from an HTTP header,
at least make the script emit the entire string, instead of the common
mistake of doing something that results in
Last Modified:
when scripting is off.