SET @d=NOW();
SELECT (DAY(@d)+WEEKDAY(@d-INTERVAL DAY(@d) DAY)) DIV 7 + 1;

相关文章: