OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

How to validate a date?

  • Thread starter Thread starter Seth Duncan
  • Start date Start date
S

Seth Duncan

Guest
I'm trying to test to make sure a date is valid in the sense that if someone enters 2/30/2011 then it should be wrong.

How can I do this with any date?

<p>I'm trying to test to make sure a date is valid in the sense that if someone enters <code>2/30/2011</code> then it should be wrong.</p>

<p>How can I do this with any date?</p>
 
Top