|Add this to your ~/.emacs file
;; Keyboard macro to insert time and date stamp with M-x stamp
[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
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.