document.lastModified 예제
<button onclick="homzzang()">클릭</button> <p id="demo"></p> <script> function homzzang() { var x = document.lastModified; document.getElementById("demo").innerHTML = x; } </script> 결과보기
<button onclick="homzzang()">클릭</button>
<p id="demo"></p>
<script>
function homzzang() {
var x = document.lastModified;
document.getElementById("demo").innerHTML = x;
}
</script>
결과보기
결과값: 08/24/2019 00:56:01