// C# Extension Method
// Doc: https://csharp-extension.com/en/method/1002624/timespan-fromnow
// @nuget: Z.ExtensionMethods
using System;
public class Program
{
public static void Main()
var timeSpan = new TimeSpan(1, 0, 0, 0);
// C# Extension Method: TimeSpan - FromNow
DateTime value = timeSpan.FromNow(); // return tomorrow.
Console.WriteLine(value.ToFullDateTimeString());
}