Hello,

Le samedi 12 février 2022 à 09:37 +0100, adriano a écrit :
> scheme@(guile-user)> (stat:ctime (stat "cat.jpg"))
> $5 = 1607841890
> 
> How do I get a timedate from that number ($5) ?

(use-modules (srfi srfi-19)) ;; Time and date stuff
(time-utc->date (make-time time-utc 0 1607841890)) 
;; Zero for nanoseconds comes before the seconds

Vivien

Reply via email to