Add TimeSpan to a new DateTime
using System;
using System.Globalization;
class Sample
{
public static void Main()
{
System.DateTime today = System.DateTime.Now;
System.TimeSpan duration = new System.TimeSpan(36, 0, 0, 0);
System.DateTime answer = today.Add(duration);
System.Console.WriteLine("{0:dddd}", answer);
}
}
//Saturday
Related examples in the same category