ASP.NET and Several Methods for Updating a Last Modified Date
By: Joann Lavrich on Friday, July 28, 2006
Reader Level: 
"Created on" and "Last modified" dates are commonly included objects on web pages. This can be quite useful in determining when the last time content was added to a web site. On the other hand, determining when the page was modified may be specifically for the information within the page itself either being entered or modified from a database or some other data source. Tracking changes to a web page can be from a variety of sources. The following methods are discussed: setting the last modified in Dreamweaver; using SQL queries to return the last modified date or current date; using the DateTime object; and setting the file timestamps in code.



