public void ConvertTest() { //"yyyy-MM-dd" Assert.AreEqual(new DateTime(2011, 2, 2, 7, 0, 0), ConvertDate.ConvertDayTime("2011-02-02 07:00")); }