Javascript Reference
Categories: document

javascript document fileModifiedDate

@May 24, 2008, 11:48 a.m.
fileModifiedDate Firefox/Netscape/NN n/a IE 4(Win) Chrome/Safari/DOM n/a

 

Read-only

Returns a string of the date (but not the time) that the server (or local file system) reports the currently-loaded file was most recently modified. IE 4's value is a long date format, but starting with IE 5, the date information is formatted as mm/dd/yyyy. The value may be corrupted or incorrect if the server supplies the data in a format that IE does not expect. Not implemented in IE Mac through Version 5.1.

 
Example
 
var dateObj = new Date(document.fileModifiedDate);
 
Value

Date string.

 
Default

None.


Powered by Linode.