document.lastModified property returns the current date and time.
|String||Returns the current date and time|
Please do google search for:
Join Our Channel
This channel is primarily useful for Full Stack Web Developer.