I create a csv with c#
csv.AppendLine($"{line.Time.Value.ToString("dd/MM/yyyy HH:mm:ss")}
when open the excel it shows me 07/02/23 09:31 instead of 07/02/23 09:31:20
I used a trick that makes it work but shows 2 spaces.
csv.AppendLine($"{line.Time.Value.ToString(" dd/MM/yyyy HH:mm:ss ")}
Is there some other way to make it without spaces and trick?
csv.AppendLine($"{line.Time.Value.ToString(" dd/MM/yyyy HH:mm:ss ")}