On 28/03/14 16:02, Sharon Kimble wrote:
Ian Barton <li...@wilkesley.net> writes:

On 28/03/14 08:19, Sharon Kimble wrote:


And for the birthday TODOs, how can I include the date of birth so that it shows
their age please? Like -
,----
| *** TODO Winnie Poohs birthday - is 83
| SCHEDULED: <2014-12-02 Tue> AGE: <1930-12-02>
`----


You can use the following expression for birthdays

%%(diary-anniversary 11  2 1955) Daddy is %d years old

Ian.

I have this for my mums birthday

,----
| *** SCHEDULED Mums birthday, she is %d years old
| %%(diary-anniversary 02-12-1930) Daddy is %d years old
| DEADLINE: <2014-12-02 Tue 12:00> SCHEDULED: <2014-12-02 Tue>
| :END:
`----

but it isn't giving any output, and btw, that is 2nd December. So how should it
be used then please?

Sharon.


I am pretty sure the date needs to be in the same format as my example:

%%(diary-anniversary 2 12 1930) Mum is %d years old

Have a look at http://orgmode.org/manual/Weekly_002fdaily-agenda.html for more info. Also http://orgmode.org/tmp/worg/org-faq.html contains lots of useful hints on how to do more complicated things like repeating appointments.

Ian.


Reply via email to