From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vivien Newsgroups: gmane.lisp.guile.user Subject: Re: timestamp Date: Sat, 12 Feb 2022 09:52:28 +0100 Message-ID: <9d45b2d6c007a8e9ca1e0656deed190f1181e035.camel@planete-kraus.eu> References: <5cae853e6252bb3e38b1a20ff9ea960c1756c68c.camel@riseup.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16031"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.42.1 To: adriano , guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sat Feb 12 09:54:16 2022 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nIoAa-00040O-Ku for guile-user@m.gmane-mx.org; Sat, 12 Feb 2022 09:54:16 +0100 Original-Received: from localhost ([::1]:49004 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIoAZ-0005zh-5Q for guile-user@m.gmane-mx.org; Sat, 12 Feb 2022 03:54:15 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35010) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIo9C-0005xZ-84 for guile-user@gnu.org; Sat, 12 Feb 2022 03:52:50 -0500 Original-Received: from [2a00:5881:4008:2810::309] (port=41914 helo=planete-kraus.eu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1nIo9A-0002j8-18 for guile-user@gnu.org; Sat, 12 Feb 2022 03:52:49 -0500 Original-Received: from planete-kraus.eu (localhost.lan [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id 43566767; Sat, 12 Feb 2022 08:52:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:subject:from:to:date:in-reply-to:references :content-type:mime-version:content-transfer-encoding; s=dkim; bh=zpa1JGsUBXp9cbQqqqD+9rh8lRk=; b=kB/3UL1p/OqcTi22EEq2Ay8C9T+E GXYMd2HbWaikrzOlTv2hL8rCpMk6tXEd8u3gnnzP6Jo+JQUavIitmIuHyVDp9jSQ V8PsyDjQSyhsV6+bb88naW6ATNrZ+/3inWrr2nD+GWwCpwKrSZG4TFOZXzwhfuPt 8ATut2BMkKyNqAg= Original-Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id 2693ce30 (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Sat, 12 Feb 2022 08:52:29 +0000 (UTC) In-Reply-To: <5cae853e6252bb3e38b1a20ff9ea960c1756c68c.camel@riseup.net> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:5881:4008:2810::309 (failed) Received-SPF: pass client-ip=2a00:5881:4008:2810::309; envelope-from=vivien@planete-kraus.eu; helo=planete-kraus.eu X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:18078 Archived-At: 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