| Function group | Execute on client | Platform(s) |
| Date and time | NO | All |
nday(datepart,date)
Returns the date of the day after the specified date when the datepart constant is set to kDay or kSunday-kSaturday.
However, if one of the day of the week constants is used, this function returns the date of that day of the week following the specified date.
The datepart constants that you can use are: kDay, kSunday, kMonday, kTuesday, kWednesday, kThursday, kFriday, kSaturday.
CalculatelDateasnday(,#D)# returns May 9 2003, assume #D is May 8, 2003
CalculatelDateasnday(,#D)# returns May 12 2003, which is the next Monday after #D, assume #D is May 8, 2003