日期:2014-05-17 浏览次数:20843 次
CultureInfo culture = CultureInfo.InvariantCulture;
DateTimeStyles style = DateTimeStyles.AssumeLocal;
string time = "44:22.37";
DateTime dummy;
if (DateTime.TryParseExact(time, "mm:ss.ff", culture, style, out dummy))
Console.WriteLine(dummy.ToString("mm:ss.ff"));