Thanks Fabrice, very helpful. A second patch is attached.
All the best, Tom Fabrice Niessen <fni-n...@pirilampo.org> writes: >> Doesn't it get its information from a timestamp in #+DATE? >> >>> I think you missed out explaining what {{{time(FORMAT)}}} does. > > You might be interested by `date', `time' and `modification-time', > depending on what you want to achieve. I've put some examples in my > Org-macros project about those: > > https://github.com/fniessen/org-macros > > Best regards, > Fabrice
>From cb30697627afacc8950ef85b839f47d48371f39b Mon Sep 17 00:00:00 2001 From: tsdye <t...@tsdye.com> Date: Thu, 6 Aug 2015 12:08:34 -1000 Subject: [PATCH 2/2] More date and time macro edits --- doc/org.texi | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/doc/org.texi b/doc/org.texi index b5ababb..30c1987 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -10216,18 +10216,21 @@ export. @item @{@{@{date@}@}@} @itemx @{@{@{date(@var{FORMAT})@}@}@} -@itemx @{@{@{time(@var{FORMAT})@}@}@} @cindex date, macro -@cindex time, macro -These macros refer to information associated with the @code{#+DATE} keyword. -The @var{FORMAT} argument, which is optional for the @{@{@{date@}@}@} macro, -should be a format string understood by @code{format-time-string}. Note that -it will only be used if @code{#+DATE} is a single timestamp. +This macro refers to information associated with the @code{#+DATE} keyword. +The optional @var{FORMAT} argument should be a format string understood by +@code{format-time-string}. Note that it will only be used if @code{#+DATE} +is a single timestamp. +@itemx @{@{@{time(@var{FORMAT})@}@}@} @itemx @{@{@{modification-time(@var{FORMAT})@}@}@} @cindex modification time, macro +@cindex time, macro -This macro refers to the modification time of the file being exported. +These macros refer to the current date and time when the document is being +exported and to the modification time of the file being exported, +respectively. The @var{FORMAT} argument should be a format string understood +by @code{format-time-string}. @item @{@{@{input-file@}@}@} @cindex input file, macro -- 2.4.5
-- Thomas S. Dye http://www.tsdye.com