JavaScript Reference/Javascript Properties/fileCreatedDate

Материал из Web эксперт
Перейти к: навигация, поиск

"fileCreatedDate" Example

    
<html>
<body>
<img id="myImage" src="yourimage.gif"><br>
<button onclick="alert(document.fileCreatedDate);">Document Created On</button>
</body>
</html>



"fileCreatedDate" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |document                        <img>                         |
+----------------+--------------------------------------------------------------+



"fileCreatedDate" Syntax and Note

Note:
Read-only property. 
Returns the file created date.
    
Syntax:
    
document.all.imgID.fileCreatedDate
document.fileCreatedDate