FutureProg functions

nextweekday

DateTimecomputer function, computer program, standard futureprog

Overload 1

nextweekday overload 1

DateTime nextweekday(DateTime Date, Text Weekday)
Available in
  • computer function
  • computer program
  • standard futureprog
Returns the next matching weekday after the supplied date.
ParameterTypeDescription
Date DateTime The date to use as the exclusive starting point.
Weekday Text The weekday name to seek.

Overload 2

nextweekday overload 2

DateTime nextweekday(DateTime Date, Text Weekday, Number Occurrences)
Available in
  • computer function
  • computer program
  • standard futureprog
Returns the nth next matching weekday after the supplied date.
ParameterTypeDescription
Date DateTime The date to use as the exclusive starting point.
Weekday Text The weekday name to seek.
Occurrences Number The nth matching weekday to seek. Negative values reverse the direction.

Overload 3

nextweekday overload 3

MudDateTime nextweekday(MudDateTime Date, Text Weekday)
Available in
  • computer function
  • computer program
  • standard futureprog
Returns the next matching weekday after the supplied date.
ParameterTypeDescription
Date MudDateTime The date to use as the exclusive starting point.
Weekday Text The weekday name to seek.

Overload 4

nextweekday overload 4

MudDateTime nextweekday(MudDateTime Date, Text Weekday, Number Occurrences)
Available in
  • computer function
  • computer program
  • standard futureprog
Returns the nth next matching weekday after the supplied date.
ParameterTypeDescription
Date MudDateTime The date to use as the exclusive starting point.
Weekday Text The weekday name to seek.
Occurrences Number The nth matching weekday to seek. Negative values reverse the direction.