DateAdd

How to Compute Sum of Date and Number of Days in C#

Submitted by donbermoy on
Last week, I have discussed a program for computing the difference between two dates. See here: How to Compute Date Difference in C#. Now, i will teach you how to create a program for finding a sum of a date and the number of days to be added using C#. So, now let's start this tutorial! 1.

Finding Sum of the Date plus Number of Days in VB.NET

Submitted by donbermoy on
A few weeks ago, I had introduced how to find the Date Difference between the two Dates in VB.NET. Now, In this article, i will introduce another some twist of the Date Function in VB.NET, in which it will find the sum of the date and the number of days that you are going to add. So, now let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2.