%(sexp) allows to include lisp expressions in a capture template.

%(format-time-string "%H:%M") should insert the current time.

Regards,
.j.

On Wed, Dec 08, 2010 at 10:08:32PM +0000, Charles Cave wrote:
> I use the following template
>
> ("l" "Log Time"
>     entry (file+datetree "c:/charles/My Dropbox/GTD/timelog.org")
>     "** %U - %^{Activity}  :TIME:")
> )
>
> A typical entry from this template looks like:
>
> * 2010
> ** 2010-12-December
> *** 2010-12-09 Thursday
> **** [2010-12-09 Thu 08:10] - Arrived at the office           :TIME:
>
> I would like to just have the time in the headline not the complete date time
> stamp.
>
> I couldn't find a % extension in the documenation
> (9.1.3.2 Template expansion)

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to