How to add two dates?

Posted by Tripati_tutu under C# on 5/27/2011 | Points: 10 | Views : 2835 | Status : [Member] | Replies : 1
In my application, I have mentioned a custom datetime in my web.config file under <appSettings> tag as shown below.
<appSettings>
<add key="DateTime" value="01/01/0001 01:01:01"/>
</appSettings>

So that time I want to add with current datetime in code behind.

Can any one say how to do this?

Thanks




Responses

Posted by: Ndebata on: 5/30/2011 [Member] Starter | Points: 25

Up
0
Down
Hi
Could you please clarify what you want to Add with the Current DateTime?

Thanks,
Debata

Tripati_tutu, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response