TimeSpan ts = endDate- startDate; //TotalDays 是double 是會有小數的要小心. Console.WriteLine("TotalDays=" + ts.TotalDays);
確定! 回上一頁