How to add current date + 30days

Hi ,

I need add current date + 30days.

Please help me with this code

Thanks
Farha

1 Like

Hi,

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

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

Cheers

5 Likes

Thank you @Florent_Salendres :slight_smile:

I have modified little bit from solution

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

2 Likes