Stephen Jazdzewski


Time and date stamp your work

Add this to your ~/.emacs file
;; Keyboard macro to insert time and date stamp with M-x stamp                  
(fset 'stamp
"^[:(insert \"[\"(current-time-string)\"]\")^M")
[Mon Nov 13 11:13:57 2006] My favorite function under emacs is my time and date stamp. When making calls, working on a job or I am just taking notes I type
ESC-x stamp
and the current time and date is inserted in my text. It is inserted in a format that can easily be detected with a Perl script to generate reports.