Hi everyone,
How to validate date mm/dd/yyyy in a textbox.(vb.net)
suppose if i enter 13/12/2018 then it should give error message like date format must be "mm/dd/yyyy"
and if we enter 13/32/2018 then it should give error message as "invalid date"
** Note:Don't take any calender control for the above requirement.
I need the above example in vb.net code.
If user give input in the textbox 13/12/2018 then it should give error message like date format must be "mm/dd/yyyy" and he enter 13/32/2018 then it should give error message as "invalid date"
Please share your ideas
Thanks
Vamsi
3 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Imran MunirPosted Dec 4, 2018, 9:42 AM
Jignesh KumarPosted Dec 4, 2018, 7:53 AM
Bryian TanPosted Dec 4, 2018, 7:48 AM