Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
CSS
System.FormatException: 'String '09-03-2020' was not recognized as a valid DateTime.'
zyc
Programming language:
CSS
2021-04-14 19:17:36
1
Q:
System.FormatException: 'String '09-03-2020' was not recognized as a valid DateTime.'
user43712
Code:
CSS
2021-04-09 15:44:21
this.Text="22/11/2009"; DateTime date = DateTime.ParseExact(this.Text, "dd/MM/yyyy", null);
1
Tags
string
date
form
New to Communities?
Join the community