This function can be used to add given number of days to a date. This function requires two arguments, the first one is the date value and the next one is the number of days that needs to be added to the given date.
AddDays(Date Value, Number DaysToAdd)
Date Value is the date to which you need to add the given number of days.
Number DaysToAdd is the number of days that needs to be added to the given date.
textbox1.Value = AddDays( GlobalVariable(ServerDate) , 100 )
This function returns the date after 100 days since current date
textbox1.Value = AddDays( dtFromDate.Value , 100 )
This example shows how we can use a date from a datetimepicker control