I have the following string that I want to convert to a c# DateTime object:
var dateTimeString = "2020-02-25T00:00:00.000+02:00";
It seems I am not able to parse it with the method below:
var success = DateTime.TryParseExact(dateTimeString , "o", CultureInfo.InvariantCulture, DateTimeStyles.AssumeLocal, out var startDateTime);
Any advices on how this can be achieved?