I\'m getting a string back from my page and I want to make sure it\'s a date. This is what I have so far (it works) and I just want to know if this is the \"best\" way to do it.
.NET gives us a datetime.parse
datetime.parse
http://msdn.microsoft.com/en-us/library/1k1skd40.aspx
and a datetime.tryparse
datetime.tryparse
http://msdn.microsoft.com/en-us/library/ch92fbc1.aspx
which both are a good way to parse dates from strings