How to determinate if a string is a Date

  • Thread starter Thread starter ad
  • Start date Start 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.
 
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
 
Back
Top