Posted
Filed under JSP, JAVA
select FLOOR((DayOfMonth(20180221)-1)/7)+1
or

select FLOOR((DayOfMonth(now())-1)/7)+1
2018/02/23 15:17 2018/02/23 15:17