Just one more question. ;-}
I would like to display the days between rows. I found time-date.el,
but
this only works with:
The five data representations used are the following:
date
An RFC822 (or similar) date string. For instance: "Sat
Sep 12 12:21:54 1998 +0200".
time
An internal Emacs time. For instance: (13818 26466).
seconds
A floating point representation of the internal Emacs
time. For instance: 905595714.0.
days
An integer number representing the number of days since
00000101. For instance: 729644.
decoded time
A list of decoded time. For instance: (54 21 12 12 9
1998 6 t 7200).
Is there a way to work with dates like 2007-09-11?
You can use parse-time-string which can handle this. It returns
a decoded time.
Even more general:
Org-mode has a very general time parsing function, org-read-date. It
gobbles pretty much anything that looks like a date and/or date.
It normally reads from the user input, but you can also make it
read from a string:
(org-read-date t t "2007-02-03")
This will return an internal emacs time, time-date can take it from
there, for example use time-to-days to get an absolute day number.
- Carsten
_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode