반응형
mysql datetime to date
-
MySQL - timestamp 컬럼 시간 0으로 업데이트 (datetime to date)database 2022. 8. 11. 18:49
1. DATE_FORMAT 날짜를 지정한 형식으로 출력해주는 함수입니다. 2. DATE_FORMAT 구분 기호 구분기호 역할 %Y 4자리 년도 %y 2자리 년도 %M 긴 월 (영문) %m 숫자 월(두자리) %d 일자 (두자리) %T hh:mm:SS %H 시간(24시간) %S 초 https://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html#function_date-format MySQL :: MySQL 5.7 Reference Manual :: 12.7 Date and Time Functions 12.7 Date and Time Functions This section describes the functions that can be used t..