DateTime now = DateTime.Now; DateTime futureDate = now.AddMinutes(30); Console.WriteLine(futureDate); // Output: {future date and time}
This method is part of the System.DateTime library in C#.
C# (CSharp) this.AddMinutes - 30 examples found. These are the top rated real world C# (CSharp) examples of this.AddMinutes extracted from open source projects. You can rate examples to help us improve the quality of examples.