This cannot be done with HTML alone. Simple javascript method (just put this where you want the date to appear):
Code:
<span>Updated <script type="text/javascript">document.write(document.lastModified);</script></span>
There are all kinds of ways to make this look better on the page. One such method is laid out here:
http://www.quirksmode.org/js/lastmod.html
Also, if you have a server-side language available, it can be done with that, and then will not rely upon the user having javascript enabled.
However it is done, the date shown will be derived from the date of the file on the server. Sometimes this just isn't accurate enough due to differences in server time and the user's local time, unless some involved time conversion is made.
Bookmarks