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 |
Tags
- SVN
- 전자정부 표준프레임워크
- Tibero
- 티베로
- 오라클
- Date and Time Function
- String Function and Operators
- Data and Time Functions
- Date and Time Functions
- 방화벽
- Oracle
- Sring Functions and Operators
- MySQL
- 윈도우
- HTTP
- String Functions and Operators
- String Functions and Date Operators
- 전자정부표준프레임워크
Archives
- Today
- Total
웹이야기
MySQL UTC_TIME() 본문
MySQL 날짜함수, 시간함수
UTC_TIME()
-
UTC_TIME, UTC_TIME([fsp])
의 형태
Returns the current UTC time as a value 'hh:mm:ss' or hhmmss format, depending on whether the function is used in string or numeric context.
If the fsp argument is given to sepcify a fractional seconds precision form 0 to 6, the return value includes a fractional seconds part of that many digits.
mysql> SELECT UTC_TIME(), UTC_TIME+0 ;
+------------+------------+
| UTC_TIME() | UTC_TIME+0 |
+------------+------------+
| 03:45:22 | 34522 |
+------------+------------+
1 row in set (0.00 sec)
mysql> SELECT UTC_TIME(3) ;
+--------------+
| UTC_TIME(3) |
+--------------+
| 03:45:40.858 |
+--------------+
1 row in set (0.00 sec)
'D > MySQL' 카테고리의 다른 글
MySQL WEEK() (0) | 2020.04.05 |
---|---|
MySQL UTC_TIMESTAMP() (0) | 2020.04.05 |
MySQL UTC_DATE() (0) | 2020.04.05 |
MySQL UNIX_TIMESTAMP() (0) | 2020.04.05 |
MySQL TO_SECONDS() (0) | 2020.04.05 |
Comments