Hi,
I have changed the system DateTime format as dd/mm/yyyy hh:mm:tt.
Whenever this format is used, DateTimePicker control crashes[Exception StackTrace attached].
The issue is DateTime.Parse method is used to convert the string value to DateTime Format, which will give exception for some custom formats. According to my investigation you can use DateTime.TryParse instead to convert which will not throw any exception.
I have changed the system DateTime format as dd/mm/yyyy hh:mm:tt.
Whenever this format is used, DateTimePicker control crashes[Exception StackTrace attached].
The issue is DateTime.Parse method is used to convert the string value to DateTime Format, which will give exception for some custom formats. According to my investigation you can use DateTime.TryParse instead to convert which will not throw any exception.