Share via


lastModified Property

Returns a String that represents the date the page was last modified, in the form "DD MMM YYYY hh:mm:ss".

expression.lastModified

*expression   * Required. An expression that returns one of the objects in the Applies To list.

Example

The following example inserts text at the bottom of the active document specifying when the document was last modified.

ActiveDocument.body.insertAdjacentHTML "beforeend", _
    "This document was last changed on: " & ActiveDocument.LastModified

Applies to | FPHTMLDocument Object | IHTMLDocument2 Object