m-veloper 엠벨로퍼의 슬기로운 개발 생활 m-veloper.github.io DAY, MONTH, YEAR 관련 함수 DAY(), WEEK(), WEEKOFYEAR(), MONTH(), YEAR() SELECT DAY(CURDATE()), WEEK(CURDATE()), WEEKOFYEAR(CURDATE()), MONTH(CURDATE()), YEAR(CURDATE()); 쿼리 결과 DAYOFYEAR(), DAYOFMONTH(), DAYOFWEEK(), WEEKDAY() DAYOFWEEK( ) : 일=1, … , 토=7 WEEKDAY( ) : 월=0, … , 일=6 SELECT DAYOFYEAR(CURDATE()), DAYOFMONTH(CURDATE()), DAYOFWEEK(CURDATE()), W..