all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

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.