fixed note creation using DATETIME