Click here to Skip to main content
Click here to Skip to main content
Alternative Tip

Tagged as

Go to top

Website Last Updated Date Using JavaScript

, 6 Dec 2011
Rate this:
Please Sign up or sign in to vote.
This technique is for use with a Web site, where your visitors may come from any part of the world - expecting different date formats.To handle this requirement, the date can be displayed using:document.lastModified.toLocaleDateString()
This technique is for use with a Web site, where your visitors may come from any part of the world - expecting different date formats.
To handle this requirement, the date can be displayed using:
document.lastModified.toLocaleDateString()

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

richardwise

United Kingdom United Kingdom
No Biography provided

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Mobile
Web01 | 2.8.140916.1 | Last Updated 6 Dec 2011
Article Copyright 2011 by richardwise
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid