org-datetree-find-date-create

org-datetree-find-date-create is an autoloaded Lisp function in `org-datetree.el'.

(org-datetree-find-date-create DATE &optional KEEP-RESTRICTION)

Find or create an entry for DATE.
If KEEP-RESTRICTION is non-nil, do not widen the buffer.
When it is nil, the buffer will be widened to make sure an existing date
tree can be found.