MySQLDate/Time FunctionsNOW
TAN

NOWDate/Time Functions

CURDATE

Returns the current date and time.

Syntax

NOW()

Example

Enter values below to update the example in real time.

orders
customer_id
status
created_at
-- 주문 생성 시각 기록
INSERT INTO orders (customer_id, status, created_at)
VALUES (101, 'PENDING', NOW());