[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] How do I insert just a time stamp in a capture template?
From: |
Juan Pechiar |
Subject: |
Re: [Orgmode] How do I insert just a time stamp in a capture template? |
Date: |
Thu, 9 Dec 2010 18:32:50 -0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
%(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)