How to add current date + 30days


#1

Hi ,

I need add current date + 30days.

Please help me with this code

Thanks
Farha


#2

Hi,

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

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

Cheers


#3

Thank you @Florent_Salendres :slight_smile:

I have modified little bit from solution

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