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
- String Function and Operators
- String Functions and Date Operators
- Sring Functions and Operators
- 오라클
- String Functions and Operators
- Date and Time Function
- 방화벽
- 전자정부표준프레임워크
- HTTP
- Date and Time Functions
- Oracle
- MySQL
- 윈도우
- 티베로
- Data and Time Functions
- Tibero
- SVN
- 전자정부 표준프레임워크
Archives
- Today
- Total
웹이야기
MySQL WEEKOFYEAR() 본문
MySQL 날짜함수, 시간함수
WEEKOFYEAR()
-
WEEKOFYEAR(date)
의 형태
Returns the calendar week of the date as a number in the range from 1 to 53. WEEKOFYEAR() is a compatibility function that is equivalent to WEEK(date, 3).
mysql> SELECT WEEKOFYEAR(NOW());
+-------------------+
| WEEKOFYEAR(NOW()) |
+-------------------+
| 14 |
+-------------------+
1 row in set (0.00 sec)
mysql> SELECT WEEKOFYEAR('2020-04-05');
+--------------------------+
| WEEKOFYEAR('2020-04-05') |
+--------------------------+
| 14 |
+--------------------------+
1 row in set (0.00 sec)
'D > MySQL' 카테고리의 다른 글
MySQL YEARWEEK() (0) | 2020.04.05 |
---|---|
MySQL YEAR() (0) | 2020.04.05 |
MySQL WEEKDAY() (0) | 2020.04.05 |
MySQL WEEK() (0) | 2020.04.05 |
MySQL UTC_TIMESTAMP() (0) | 2020.04.05 |
Comments