Javascript Reference
Categories: document

javascript document fileCreatedDate

@March 15, 2008, 1:22 a.m.
fileCreatedDate 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 filesystem) reports the currently-loaded file was created. 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 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.fileCreatedDate);
 
Value

Date string.

 
Default

None.


Powered by Linode.