FutureProg functions

lastweekday

DateTimecomputer function, computer program, standard futureprog

Overload 1

lastweekday overload 1

DateTime lastweekday(DateTime Date, Text Weekday)
Available in
  • computer function
  • computer program
  • standard futureprog
Returns the last 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

lastweekday overload 2

DateTime lastweekday(DateTime Date, Text Weekday, Number Occurrences)
Available in
  • computer function
  • computer program
  • standard futureprog
Returns the nth last 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

lastweekday overload 3

MudDateTime lastweekday(MudDateTime Date, Text Weekday)
Available in
  • computer function
  • computer program
  • standard futureprog
Returns the last 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

lastweekday overload 4

MudDateTime lastweekday(MudDateTime Date, Text Weekday, Number Occurrences)
Available in
  • computer function
  • computer program
  • standard futureprog
Returns the nth last 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.