changes TIMESTAMP to DATETIME