|
-
Jun 13th, 2007, 03:14 PM
#1
Thread Starter
Hyperactive Member
[2.0] Validating a string for MM/DD/YYYY format
Howdy folks,
I have a string variable that should have data in it as 06/12/2007 (MM/DD/YYYY). basically a date. how can I validate if it is in the correct format. If the string variable has data in any other format say 06/12/07 (MM/DD/YY), it should throw an error.
How can I do that in C#?
thanks
nath
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|