Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using Org Mode and I was wondering if anyone knows how i can add the date that the file was last edited within the actual file?

share|improve this question
up vote 2 down vote accepted
  1. Timestamp in org mode
  2. Emacs (version 21 or later) has time-stamp support (See Manual:Time Stamps).
  3. Library header2.el has code to insert and update a date and time field in a file header. Unlike vanilla Emacs timestamps, such a time stamp need not be within the first eight lines of the file. The default timestamp format used by header2.el looks like this, but you can customize it any way you like (option ‘header-date-format’)

Link on how to use Option 2 (the simplest and most portable way IMO)

share|improve this answer
Nitpick: time stamps were already in Emacs 19 (and probably earlier but I'm just too young a user to know). – Gilles Sep 1 '10 at 19:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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