last monday of month mysql code example Example: mysql last friday of current month SELECT LAST_DAY(NOW()) - ((7 + WEEKDAY(LAST_DAY(NOW())) - 4) % 7);