using System; class App{ public static void Main(){ DateTime now = DateTime.Now; Console.WriteLine("The current time is {0}", now); DateTime future = DateTime.MaxValue; Console.WriteLine("An instance of DateTime can't"+ " exceed {0}", future); TimeSpan delta = future-now; Console.WriteLine( "That is {0} days from now", delta.TotalDays); TimeSpan oneYear=new TimeSpan(365,0,0,0); DateTime oneYearOn=now+oneYear; Console.WriteLine("One year on from now is {0}",oneYearOn); } }