document.lastModified of a page
WE can collect the last modified or created date of the current file by using document object lastModified property.
Here is the syntax
The above command is case sensitive
The output of current page is here
Here is the complete code for you to try.
Subscribe to our YouTube Channel here
This article is written by plus2net.com team.