Smart Date From Text Date Field
Category:
C#, VB.NET, ASP.NETType:
SnippetsDifficulty:
BeginningAuthor: Anonymous
Version Compatibility: Visual Basic 6, Visual Basic.NET
More information:
This is a smart date converter. Enter the TEXT Field with any number of ways of entering dates and it will convert it to a proper date. Example: 0604 Will convert to 06/04/2004 (or current year). 1212 will convert to 12/12/2004
Instructions: Copy the declarations and code below and paste directly into your VB project.
Declarations: