TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
lastModified property in javascript
Mahak Gupta
May 05, 2020
4.5
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
lastModified property is used to get the date and time when the document is last modified.
lastModified property in javascript
lastModified property is used to get the date and time when the document is last modified.
<html>
<body>
<script type=
"text/javascript"
>
document.write(document.lastModified);
</script>
</body>
</html>
Output:
lastModified property in javascript
Next Recommended Reading
Working with String Class Properties using JavaScript