SyntaxFix
Write A Post
Hire A Developer
Questions
try this
var insert = DateTime.ParseExact(line[i], "M/d/yyyy h:mm", CultureInfo.InvariantCulture);