int组成时间值
1 int startYear = int.Parse(DateTime.Now.Year.ToString()); 2 int startMouth = int.Parse(DateTime.Now.Month.ToString()); 3 int startDay = int.Parse(DateTime.Now.Day.ToString()); 4 int startHour = 0, startMinutes = 0, startSecond = 0; 5 startHour = int.Parse(strs[0]); startMinutes = int.Parse(strs[1]); startSecond = int.Parse(strs[2]);}14 6 startTime = new DateTime(startYear, startMouth, startDay, startHour, startMinutes, startSecond);