How to add Date to another Date?

How to add Date to another Date ?

Hi @Wafa_KACEM

Create a TimeSpan variable by a specified number of days, hours, minutes, seconds, and milliseconds in your DateTime.
Then you can use Add method of System.DateTime to add the TimeSpan to target DateTime.

1 Like

Thank you!

While trying to execute an Excel macro , I got this error


how can I solve it ?