JavaScript DHTML/Development/File Date
Версия от 10:02, 26 мая 2010; (обсуждение)
"fileCreatedDate" Example
<html>
<body>
<img id="myImage" src="http://www.wbex.ru/style/logo.png"><br>
<button onclick="alert(document.fileCreatedDate);">Document Created On</button>
<button onclick="alert(myImage.fileModifiedDate);">Image Modified On</button>
<button onclick="alert(myImage.fileSize);">Image Size</button>
<button onclick="alert(myImage.fileUpdatedDate);">Image Updated on</button>
<button onclick="alert(document.lastModified);">Document Modified On</button>
</body>
</html>
"fileModifiedDate" Example
<html>
<body>
<img id="myImage" src="http://www.wbex.ru/style/logo.png"><br>
<button onclick="alert(document.fileCreatedDate);">Document Created On</button>
<button onclick="alert(myImage.fileModifiedDate);">Image Modified On</button>
<button onclick="alert(myImage.fileSize);">Image Size</button>
<button onclick="alert(myImage.fileUpdatedDate);">Image Updated on</button>
<button onclick="alert(document.lastModified);">Document Modified On</button>
</body>
</html>
"fileUpdatedDate" Example
<html>
<body>
<img id="myImage" src="http://www.wbex.ru/style/logo.png"><br>
<button onclick="alert(document.fileCreatedDate);">Document Created On</button>
<button onclick="alert(myImage.fileModifiedDate);">Image Modified On</button>
<button onclick="alert(myImage.fileSize);">Image Size</button>
<button onclick="alert(myImage.fileUpdatedDate);">Image Updated on</button>
<button onclick="alert(document.lastModified);">Document Modified On</button>
</body>
</html>