DateTime Object in .NET: Demo

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

Version Compatibility: ASP.NET

More information:
This is an ASP.NET page that demonstrates usage of the .NET's DateTime object and it's format method. As you will see, this object provides enhanced date display properties as compared to native methods of Visual Basic and ASP.

Though the demo is implemented in ASP.NET, the properties and methods illustrated can be used in any Visual Basic.NET project as well.

Originally Developed for Beta versions, verified to work in .NET Version 1.0, 03/25/02.


Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download datetime_dotnet.zip