📜  c# datetime add - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:06.439000             🧑  作者: Mango

代码示例1
DateTime date = DateTime.Now;
TimeSpan time = new TimeSpan(36, 0, 0, 0);
DateTime combined = date.Add(time);