I have a variable time
which contains string with time in format h:m:s.ms
I was trying to write in a cell this time, but when I open excel I saw smth like 12:34:14 PM
.
But I want to see 12:34:14.1354
How can I solve this problem?
var line = "2019-07-18 11:07:42.6101";
var time = line.Substring(11, 13);
worksheet.Cell(row, column).Value = time;