help you need to leave only time from the text (hour / min / sec) and output to the console example: 01/30/2014 10:32:44 36324 36324 36324 36324 2 it turns out:
while ((line = file.ReadLine()) != null) { DateTime mydatatime = DateTime.Parse(line.Substring(0, 19)); Console.WriteLine("{0}", mydatatime); counter++; } The result will be
BUT I only need time, but I have a date and time