DateTime has milliseconds, the MSDN for DateTime Even gives an example:
DateTime date1 = DateTime.Now;
Console.WriteLine("Date with milliseconds: {0:MM/dd/yyy hh:mm:ss.fff}", date1);
The fff
is milliseconds in the format string.
5
solved I need to know the exact date with millisecond in C# [closed]