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