When you export an org file to html, a date will appear in the html source though commented.

Example, line 5 of https://i.stack.imgur.com/Bqhn1.jpg .

2 Answers 2


You need to set the appropriate export option, which is timestamp. It's described at Export Settings, but I always find that section ridiculously confusing, so here are some examples:

Either globally using a variable:

(setq org-export-with-timestamps nil)

or globally using a keyword:

#+options: timestamp:nil
* headline
one two three

or on an individual headline:

* headline
#+options: timestamp:nil
one two three
  • OP is asking about the autogenerated timestamp that gets inserted as an HTML comment which states the time the org file was exported. Your answer is talking about user-created timestamps in the org file, which is a different thing. Sep 24, 2022 at 5:17

To disable that globally, you can use (setq org-export-time-stamp-file nil).

  • 2
    This is the correct answer. Sep 24, 2022 at 5:17
  • Hi @Veltas, thanks for this correction! let me update it.
    – Jason Tian
    May 6, 2023 at 4:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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