How to add current date + 30days

Hi ,

I need add current date + 30days.

Please help me with this code

Thanks
Farha

Hi,

Now.AddDays(30) will give you the value you need as DateTime.

Now.AddDays(30).toString will give its string representation.

Cheers

4 Likes

Thank you @Florent_Salendres :slight_smile:

I have modified little bit from solution

now.AddDays(30).ToString(“dd/MM/yyyy”)

1 Like