C# DateTime Add Days – Programming, Pseudocode Example, C# Programming Example
C# C# Console Methods

C# DateTime Add Days

DateTime.AddDays() Method in C#

This method is used to return a new DateTime that adds the specified number of days to the value of this instance.

Example 1:

 

Output:

 

Example 2: C# DateTime to add days to the current date

 

Output:

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.