[X]

Last Updated Stamp

time and date 1995 still works

Prints the file's own last-modified date. No maintenance, ever.

In 2026: Works, with one caveat: if the server sends no Last-Modified header the browser substitutes the current time, so the page claims it was updated just now.

Where it came from: Netscape JavaScript 1.0 document object, 1996. MDN

<script language="JavaScript">
document.write("This page last updated: " + document.lastModified);
</script>

<!-- Nicer formatting -->
<script language="JavaScript">
var lm = new Date(document.lastModified);
var months = ["January","February","March","April","May","June",
              "July","August","September","October","November","December"];
document.write("Last updated " + months[lm.getMonth()] + " "
             + lm.getDate() + ", " + lm.getFullYear());
</script>
sandboxed demo · breaks nothing but itselfrestart

More in time and date

all 6 in time and date › · the whole library ›