mysql last friday of current month
snippet in sql

mysql last friday of current month

user896

SELECT LAST_DAY(NOW()) - ((7 + WEEKDAY(LAST_DAY(NOW())) - 4) % 7);