Skip to Content
Well since Brian asked, since there are so many different ways of typing in a DATE how about validating the DATE?

This becomes extremely complex with dates. A German would say 10/2/2005, an American 2/10/2005 (assuming constant use of /). So what does an American living in Germany write? For these types of validation, you will have to look at the user’s personal settings, to dynamically have your validation code match the fingers at the keyboard.

Well since you did ask I’ll share what I use for this it does take care of lots of the possible cases, not 100% perfect but nice…

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply