|
From: | Jorge A. Alfaro-Murillo |
Subject: | Re: Picking a date using M-x calendar UI from elisp |
Date: | Tue, 21 Jul 2015 13:55:40 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Diogo Ramos writes:
Is it possible to use the M-x calendar UI from elisp to let the user pick a date?
You could use org built-in functions: #+BEGIN_SRC emacs-lisp(format-time-string "%Y-%m-%d" (org-time-string-to-time (org-read-date)))
#+END_SRC Best, -- Jorge.
[Prev in Thread] | Current Thread | [Next in Thread] |