added doc, and string to date converter