javascript document lastModified

lastModified NN 2 IE 3 DOM n/a

Read-only

Provides the date and time (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. Non-Windows browsers also tend to have a rough time interpreting the information correctly. Only in recent browsers is the date string in a form suitable as a parameter for a Date object constructor.

 
Example
 
document.write(document.lastModified);
 
Value

String representation of a date and time.

 
Default

None.


558,Nickname,Homepage or email,Comments here,Add comment