웹이야기

MySQL LOCALTIME() 본문

D/MySQL

MySQL LOCALTIME()

yeon.Biju 2020. 4. 2. 13:00

MySQL 날짜함수, 시간함수

 

LOCALTIME()

   -

 

LOCALTIME, LOCALTIME([fsp])

의 형태

 

 

LOCALTIME AND LOCALTIME() are synonyms  for NOW()

 

 

mysql> SELECT LOCALTIME;
+---------------------+
| LOCALTIME           |
+---------------------+
| 2020-04-02 13:00:10 |
+---------------------+
1 row in set (0.00 sec)

mysql> SELECT LOCALTIME();
+---------------------+
| LOCALTIME()         |
+---------------------+
| 2020-04-02 13:00:14 |
+---------------------+
1 row in set (0.00 sec)

'D > MySQL' 카테고리의 다른 글

MySQL MAKETIME()  (0) 2020.04.02
MySQL MAKEDATE()  (0) 2020.04.02
MySQL LAST_DAY()  (0) 2020.04.02
MySQL HOUR()  (0) 2020.04.02
MySQL GET_FORMAT()  (0) 2020.04.02
Comments