How to determinate if a string is a Date

A

ad

How can I determinate if a string is a Valid date.
For example
"2002/06/23", and "2002/6/23" all are valid date string, but "2002/23/06" is
not.
 
G

Guest

Convert.ToDate with regional formate date or use Regexp
How can I determinate if a string is a Valid date.
For example
"2002/06/23", and "2002/6/23" all are valid date string, but "2002/23/06" is
not.

--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top