[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Inserting date

From: Drew Adams
Subject: RE: Inserting date
Date: Sat, 28 Feb 2009 22:18:15 -0800

> > Can you tell me how can I insert the today's date in a text file,
> > please? (something like fields in traditional word processors).
> (global-set-key "\C-cid" (lambda() (interactive) (insert 
> (format-time-string "%a %Y-%m-%d - %l:%M %p"))))
> then you can use that key combo to insert day date - time. Strip out 
> some of the formating specs if you don't need them or change 
> their order if you like.

These might help too (just some Emacs wiki search results for "insert date"):

reply via email to

[Prev in Thread] Current Thread [Next in Thread]