insert current date into sql code example
Example 1: store sysdate in row phpadmin
CURDATE() #Format -> yyyy-mm-dd
or
NOW() #Format -> yyyy-mm-dd HH:MM:SS
Example 2: insert current date sql
INSERT INTO my_table (last_updated) VALUES(NOW());
INSERT INTO my_table (last_updated) VALUES(sysdate); -- Oracle
INSERT INTO my_table (last_updated) VALUES(getdate()); -- SQL Server