best practice for last-modified and created dates
- by drewbenn
I have a website with a handful (currently 3; I anticipate about a dozen when it's complete) of static html pages. I'd like to include "created" and "last-modified" dates in the pages for the benefit of visitors who arrive a week or a month or a few years from now. I expect anyone who cares to be viewing the source, so I could do:
<!-- created yyyy-mm-dd, last-modified yyyy-mm-dd -->
but I'd like to use something more standard (and elegant). I've found one reference to last modified (but only a mention in the text, not an actual code reference, so I'm not positive how to properly implement it) but not created.
Is there a proper way to display both (or at least one) of these dates?