help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: a command to insert today's date OR time (or both)?


From: Pascal J. Bourguignon
Subject: Re: a command to insert today's date OR time (or both)?
Date: Sun, 09 Jan 2011 04:30:15 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

dkcombs@panix.com (David Combs) writes:

> I've looked in emacs' *info*, its list of commands, etc,
> and can find nothing.

C-u M-! date RET
Sun Jan  9 04:29:12 CET 2011

C-u M-: (calendar-current-date) RET
(1 9 2011)

> Sure would be nice to be to easily to insert the current
> date, time, or both.

Then write the command to do so.
Notice how each user will want to insert it in a different format.

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
A bad day in () is better than a good day in {}.


reply via email to

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