Is there any equivalent of \today in org mode which auto updates whenever the document is exported and can be inserted anywhere in text?
1 Answer
Have a look at the time
macro.
For example,
* Date test
This is the export time: {{{time(%Y-%m-%d)}}}.
Will produce the export date.
For the format of the time specification, check the documentation for format-time-string
.
-
-
1@Vaibhav I'm using orgmode 9.1, and I tested the example before posting. {{{date}}} is for the #+DATE property, {{{time}}} is for the export time.– JuanchoNov 23, 2017 at 19:33