I want to validate DateTime in (dd/mm/yyyy) format in client as well as server in MVC 3.
Please provide any guidelines / suggestions.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you are using a jquery Date Popup, then you can set the format in the popup itself and make the textbox readonly.
Other hard way is to validate on submission with a regular expression. You can get lots of regex’s if you search through google. Here is one link for you.