メインコンテンツまでスキップ

current_timestamp

current_timestamp

説明​

現在の日付を取得し、DATETIME型の値で返します。

構文​

DATETIME CURRENT_TIMESTAMP()

例​

MySQL > select current_timestamp();
+---------------------+
| current_timestamp() |
+---------------------+
| 2019-05-27 15:59:33 |
+---------------------+

キーワード​

CURRENT_TIMESTAMP,CURRENT,TIMESTAMP