728x90
반응형
https://www.w3resource.com/mysql/date-and-time-functions/mysql-current_timestamp-function.php
MySQL CURRENT_TIMESTAMP - w3resource
In MySQL the CURRENT_TIMESTAMP returns the current date and time in ‘YYYY-MM-DD HH:MM:SS’ format or YYYYMMDDHHMMSS.uuuuuu format depending on whether numeric or string is used in the function.
www.w3resource.com
MySQL에서 CURRENT_TIMESTAMP는 함수에서 숫자 또는 문자열이 사용되었는지 여부에 따라 'YYYY-MM-DD HH:MM:SS' 형식 또는 YYYYMMDDHHMMSS.uuuuuu 형식으로 현재 날짜와 시간을 반환합니다. NOW() 및 CURRENT_TIMESTAMP()는 CURRENT_TIMESTAMP와 동의어입니다.
728x90
반응형
'DB' 카테고리의 다른 글
[MySQL] 컬럼 순서변경 + Dbeaver 에서 컬럼순서변경 방 (0) | 2023.03.13 |
---|---|
[DB][MySQL] Group by 별 limit /rank() 함수 이용 (0) | 2023.03.08 |
[DB][MySQL] JSON Data (0) | 2023.03.05 |
[DB][MySQL] timestamp 자동 (0) | 2023.02.23 |
[Mybatis] insert return 값 (0) | 2023.02.11 |