Capture time stamp on submit
Sample code snippet (MySQL)
CREATE TABLE `query` ( `id` int(11) NOT NULL AUTO_INCREMENT, `date_created` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `date_modified` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`)) ENGINE=InnoDB AUTO_INCREMENT=125 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;More about CURRENT_TIMESTAMP: https://dev.mysql.com/doc/refman/8.0/en/timestamp-initialization.html