This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

lastModified

Summary

Gets the date that the document was last modified, if the document supplies one.

Property of dom/Documentdom/Document

Syntax

Note: This property is read-only.

var lastModified = document.lastModified;

Return Value

Returns an object of type StringString

The date of the last modification to the document, as indicated by the server.

Related specifications

WHATWG HTML
Living Standard
W3C HTML5
Working Draft

Attributions