string time = DateTime.Now.ToString();
string nowtime = time.Substring(9, 5); Console.WriteLine(nowtime); Console.ReadLine();