help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Storing hours, minutes, seconds, and nanoseconds from format-time-string


From: Heime
Subject: Storing hours, minutes, seconds, and nanoseconds from format-time-string
Date: Tue, 06 Dec 2022 09:23:24 +0000

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]