Insert DATETIME into saved queries