Document Created / Modified Date
Many times it is necessary to display when a document was created or when it was last modified. There are a number of ways that this can be done including hard-coding the date into the document upon each revision. To avoid all that repetitive typing you can simply add document.fileCreatedDate or document.fileModifiedDate inside a document.write statement and update the date automatically.
Note: this script DOES NOT work on ASP pages since they are created and last modified at run time!
See http://www.psacake.com/web/gq.asp for the asp compatible version.
document.write ("Document Created On: ")
document.write ("Document Last Modified On: ")
Back | Tell A Friend | Search this Site
© 1998 - 2013 psacake.com
Send me One Million FREE Guaranteed Visitors