lweekdate matlab_compat · scripts/matlab_compat/wave4/lweekdate.m Last weekday WKD (1=Sun..7=Sat) in month M of year Y.