help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Picking a date using M-x calendar UI from elisp


From: Diogo Ramos
Subject: Re: Picking a date using M-x calendar UI from elisp
Date: Tue, 21 Jul 2015 15:05:41 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

>> 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

Ah, nice.  Thank you.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]