Fixed getNoteXML -> used correct DateType