I would like to parse a datetime string with a special format.
Unfortunately I get an error. The datetime string is like the following: "08012020 21:17:05".
I tried the following code sample:
if (DateTime.TryParse(strDateTime, out dtDateTime))
Print(strDateTime + " --> " + dtDateTime);
else
Print("Unable to parse DateTime " + strDateTime );
Any ideas how to parse the special format?
Gerik