all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joost Kremers <joostkremers@fastmail.fm>
To: Michael Heerdegen via Users list for the GNU Emacs text editor
	<help-gnu-emacs@gnu.org>
Cc: Michael Heerdegen <michael_heerdegen@web.de>
Subject: Re: Get current date and time as a string?
Date: Wed, 22 May 2024 13:59:14 +0200	[thread overview]
Message-ID: <86cypejbvx.fsf@fastmail.fm> (raw)
In-Reply-To: <874jaq12su.fsf@web.de> (Michael Heerdegen via Users list for the's message of "Wed, 22 May 2024 13:52:49 +0200")

On Wed, May 22 2024, Michael Heerdegen via Users list for the GNU Emacs text editor wrote:
> Joost Kremers <joostkremers@fastmail.fm> writes:
>
>> You'll want a combination of `current-time` and
>> `format-time-string`. See (info "(elisp) Time of Day") and (info
>> "(elisp) Time Parsing"), respectively.
>
> Or `current-time-string'.

Possibly, but IIUC it won't give you the time in the format that the OP is
looking for.

-- 
Joost Kremers
Life has its moments



  reply	other threads:[~2024-05-22 11:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-22 11:22 Get current date and time as a string? Dr Rainer Woitok
2024-05-22 11:29 ` Emanuel Berg
2024-05-22 11:30 ` Joost Kremers
2024-05-22 11:52   ` Michael Heerdegen via Users list for the GNU Emacs text editor
2024-05-22 11:59     ` Joost Kremers [this message]
2024-05-22 16:27   ` tpeplt
2024-05-22 18:18 ` Pierre Rouleau
2024-05-23  0:34   ` Emanuel Berg

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=86cypejbvx.fsf@fastmail.fm \
    --to=joostkremers@fastmail.fm \
    --cc=help-gnu-emacs@gnu.org \
    --cc=michael_heerdegen@web.de \
    /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.