DROP TABLE IF EXISTS timestamps;
CREATE TABLE timestamps (
id INT PRIMARY KEY AUTO_INCREMENT,
create_dt DATETIME
) DEFAULT CHARSET UTF8MB4;
INSERT INTO timestamps (create_dt) VALUES ("2012-00-01 00:00:00");
ERROR 22003: Out of range value for column 'create_dt' at row 1
INSERT INTO timestamps (create_dt) VALUES ("2012-01-00 00:00:00");
ERROR 22003: Out of range value for column 'create_dt' at row 1
SELECT * FROM timestamps;
id	create_dt
DROP TABLE timestamps;
