INSERT INTO table_name (column_name) VALUES (NOW());
SELECT * FROM table_name WHERE datetime_column BETWEEN '2021-01-01 00:00:00' AND '2021-01-31 23:59:59';
SELECT * FROM table_name ORDER BY datetime_column DESC;
SELECT DATE_FORMAT(datetime_column, '%Y-%m-%d %H:%i:%s') FROM table_name;
SELECT DATE_ADD(datetime_column, INTERVAL 1 DAY) FROM table_name;
SELECT DATE_SUB(datetime_column, INTERVAL 1 WEEK) FROM table_name;