private TimeSpan ParseTimeSpan(string p) { try { return TimeSpan.Parse(p); } catch { return default(TimeSpan); } }