1

Is there any equivalent of \today in org mode which auto updates whenever the document is exported and can be inserted anywhere in text?

3

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.

  • Hi .. it is {{{date}}} macro. Time doesn’t work – Vaibhav Nov 23 '17 at 11:13
  • @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. – Juancho Nov 23 '17 at 19:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.