SyntaxFix
Write A Post
Hire A Developer
Questions
Use CultureInfo class to change your culture info.
CultureInfo
var dutchCultureInfo = CultureInfo.CreateSpecificCulture("nl-NL"); var date1 = DateTime.ParseExact(date, "dd.MM.yyyy HH:mm:ss", dutchCultureInfo);