unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Display current date/time
@ 2014-03-25  9:54 Marcin Borkowski
  2014-03-25 10:15 ` Thibaut Verron
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Marcin Borkowski @ 2014-03-25  9:54 UTC (permalink / raw)
  To: GNU Emacs users list

Hello list,

is there an (interactive) function to display current date and/or time
in the echo area?  I'd like to be able to say M-x today and see today's
date, for instance, without having to fire up the calendar.

TIA,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University



^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <mailman.18141.1395741262.10748.help-gnu-emacs@gnu.org>]
* Re: Display current date/time
@ 2014-03-27  0:35 Tak Kunihiro
  0 siblings, 0 replies; 6+ messages in thread
From: Tak Kunihiro @ 2014-03-27  0:35 UTC (permalink / raw)
  To: mbork, help-gnu-emacs; +Cc: tkk

I use yasnippet to see current date/time.
Snippets with key `today/now' insert date/time in current buffer.

# name: (today)
# key: today
# --
`(format-time-string "%B %e, %Y (%a)" (current-time))`

# name: (now)
# key: now
# --
`(format-time-string "%T %Z" (current-time))`


> Hello list,
> 
> is there an (interactive) function to display current date and/or time
> in the echo area?  I'd like to be able to say M-x today and see today's
> date, for instance, without having to fire up the calendar.
> 
> TIA,



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-03-27  0:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-25  9:54 Display current date/time Marcin Borkowski
2014-03-25 10:15 ` Thibaut Verron
2014-03-25 12:05 ` Eric Abrahamsen
2014-03-25 21:37 ` Stefan Monnier
     [not found] <mailman.18141.1395741262.10748.help-gnu-emacs@gnu.org>
2014-03-25 10:10 ` Damien Wyart
  -- strict thread matches above, loose matches on Subject: below --
2014-03-27  0:35 Tak Kunihiro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).