求解,DateTime获取时间求解,DateTime获取时间,DateTime a = new DateTime();Console.Write(a.TimeOfDay);取时间是00;00;00 [解决办法]DateTime a =DateTime.Now;