Display the Last Updated Date of an ASP.NET Page

Category:
C#, VB.NET, ASP.NET
Type:
Snippets
Difficulty:
Beginning
Author:
Intelligent Solutions Inc.

Version Compatibility: ASP.NET

More information:
These two functions allow you to display the last updated date of an ASP.NET page. One displays the date in long date format, the other in short date format. They are presented as scripts for the .aspx page itself, but you can also put the functions in code behind modules.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: