all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tak Kunihiro <tkk@misasa.okayama-u.ac.jp>
To: mbork@wmi.amu.edu.pl, help-gnu-emacs@gnu.org
Cc: tkk@misasa.okayama-u.ac.jp
Subject: Re: Display current date/time
Date: Thu, 27 Mar 2014 09:35:44 +0900 (JST)	[thread overview]
Message-ID: <20140327.093544.1112008896199302941.tkk@misasa.okayama-u.ac.jp> (raw)

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,



             reply	other threads:[~2014-03-27  0:35 UTC|newest]

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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140327.093544.1112008896199302941.tkk@misasa.okayama-u.ac.jp \
    --to=tkk@misasa.okayama-u.ac.jp \
    --cc=help-gnu-emacs@gnu.org \
    --cc=mbork@wmi.amu.edu.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.