Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
Tags
- HTTP
- Date and Time Function
- 전자정부 표준프레임워크
- Date and Time Functions
- String Function and Operators
- String Functions and Operators
- 전자정부표준프레임워크
- MySQL
- 오라클
- 티베로
- Tibero
- Sring Functions and Operators
- Oracle
- 방화벽
- SVN
- 윈도우
- String Functions and Date Operators
- Data and Time Functions
Archives
- Today
- Total
웹이야기
MySQL CURRENT_TIMESTAMP, CURRENT_TIMESTAMP() 본문
MySQL 날짜함수, 시간함수
CURRENT_TIMESTAMP, CURRENT_TIMESTAMP()
CURRENT_TIMESTAMP
또는
CURRENT_TIMESTAMP([fsp])
의 형태
CURRENT_TIMESTAMP and CURRENT_TIMESTAMP() are synonym for NOW()
mysql> SELECT CURRENT_TIMESTAMP;
+---------------------+
| CURRENT_TIMESTAMP |
+---------------------+
| 2020-04-01 14:46:56 |
+---------------------+
1 row in set (0.00 sec)
mysql> SELECT CURRENT_TIMESTAMP();
+---------------------+
| CURRENT_TIMESTAMP() |
+---------------------+
| 2020-04-01 14:47:06 |
+---------------------+
1 row in set (0.00 sec)
'D > MySQL' 카테고리의 다른 글
MySQL DATEDIFF() (0) | 2020.04.01 |
---|---|
MySQL DATE() (0) | 2020.04.01 |
MySQL CURRENT_TIME, CURRENT_TIME() (0) | 2020.04.01 |
MySQL CURRENT_DATE, CURRENT_DATE() (0) | 2020.04.01 |
MySQL CURDATE() (0) | 2020.04.01 |
Comments