unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Storing hours, minutes, seconds, and nanoseconds from format-time-string
@ 2022-12-06  9:23 Heime
  2022-12-06 10:19 ` Stephen Berman
  2022-12-06 15:22 ` Thibaut Verron
  0 siblings, 2 replies; 7+ messages in thread
From: Heime @ 2022-12-06  9:23 UTC (permalink / raw)
  To: Heime via Users list for the GNU Emacs text editor


I am getting the time using the format "%FT%T.%N%z".

(format-time-string "%FT%T.%N%z" nil tzone)

From the result I need to get the hours, minutes, seconds,
and nanoseconds to store them into four numeric variables.

How can I do this from the output of "format-time-string".



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

end of thread, other threads:[~2022-12-06 15:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-06  9:23 Storing hours, minutes, seconds, and nanoseconds from format-time-string Heime
2022-12-06 10:19 ` Stephen Berman
2022-12-06 12:07   ` Heime
2022-12-06 12:14     ` Stephen Berman
2022-12-06 14:34     ` Emanuel Berg
2022-12-06 15:04       ` Thibaut Verron
2022-12-06 15:22 ` Thibaut Verron

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).