emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Computing dates in properties?


From: Philip Hudson
Subject: Re: [O] Computing dates in properties?
Date: Fri, 8 Jul 2016 09:37:38 +0100

On 8 July 2016 at 05:01, Jay Iyer <address@hidden> wrote:
> Is it possible to perform simple calculations in properties like in the
> example below?  If so, please provide pointers.
> Thanks,
> -jay
>
> ** Headline 1
> :PROPERTIES:
> :CUSTOM_ID: headline_1
> :DATE: [2016-07-07 Thu]
> :END:
>
> ** Headline 2
> :PROPERTIES:
> :CUSTOM_ID: headline_2
> :DATE: [date from headline 1 + 3 days]
> :END:

One way would be to use org-capture's %^ and %(lisp-function-call) syntax.

-- 
Phil Hudson                   http://hudson-it.ddns.net
@UWascalWabbit                 PGP/GnuPG ID: 0x887DCA63



reply via email to

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