Returns a new DateTime with the specified number of minutes added.
Syntax
dt.AddMinutes(value)Example
Enter values below to update the example in real time.
dt→later→AddMinutes→Console→WriteLine→ToString→DateTime dt = DateTime.Now;
DateTime later = dt.AddMinutes(30);
Console.WriteLine(later.ToString("HH:mm"));