|
From: | Matt Price |
Subject: | [O] dynamic date arithmetic in a macro or otherwise (simulating a "date counter")? |
Date: | Tue, 22 Aug 2017 19:09:38 -0400 |
I'd love to be able generate dates dynamically using the {{{n}}} org macro, or some other mechanism. I don't immediately see how that would be possible but maybe someone can guide me. I'd want to do something equivalent to this pseudo-elisp:(let ((base-date 2017-09-05))(+ base-date (* 7 {{{n}}}))I haven't looked into how date objects are parsed in org-mode, though, so I have no idea how hard it would be to actually implement something like this.
Thank you everyone!
0001-org-macro-Implement-the-n-macro.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |