Name

lastModified — NN 2 IE 3 DOM n/a

Synopsis

Read-only

The date (as a string) on which the server says the document file was last modified. Some servers don’t supply this information at all or correctly.

Example

document.write(document.lastModified)

Value

String representation of a date.

Default

None.

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.