public static double? TotalMilliseconds(this TimeSpan? timeSpan) { return timeSpan.Select(x => x.TotalMilliseconds); }