Function File: last = nweekdate (n, weekday, year, month, nextday)

Returns the nth occurrence of weekday from the month and year. If the optional nextday argument is given, then the week must also contain nextday. If n is greater than the number of occurrences of that day in the month, 0 is returned.

See also: eomdate, lweekdate, weekday.

Package: financial