From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ricardo Wurmus Newsgroups: gmane.lisp.guile.user Subject: Re: timestamp Date: Sat, 12 Feb 2022 12:49:10 +0100 Message-ID: <874k54tia0.fsf@elephly.net> References: <5cae853e6252bb3e38b1a20ff9ea960c1756c68c.camel@riseup.net> <9d45b2d6c007a8e9ca1e0656deed190f1181e035.camel@planete-kraus.eu> <098bbd5f1c81414521015479b7e2b17d8809f1bd.camel@riseup.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3527"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.6.10; emacs 27.2 Cc: guile-user@gnu.org To: adriano Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sat Feb 12 12:52:09 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 1nIqwg-0000dV-IZ for guile-user@m.gmane-mx.org; Sat, 12 Feb 2022 12:52:09 +0100 Original-Received: from localhost ([::1]:57310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIqwf-0001gh-89 for guile-user@m.gmane-mx.org; Sat, 12 Feb 2022 06:52:05 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIqw9-0000mk-2r for guile-user@gnu.org; Sat, 12 Feb 2022 06:51:33 -0500 Original-Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21135) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIqw5-0005So-6V for guile-user@gnu.org; Sat, 12 Feb 2022 06:51:31 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1644666684; cv=none; d=zohomail.com; s=zohoarc; b=Zohxq6ThvzLl8cwZb1BTT9NOposCxVuAb4lqZjrnqrhfSCDN30kUwet2jeciqoqx4Af8ioqkzQgvtq3h0/hgA2mQ279yCEkId+wLBL97YA5btgUZPwsaWTMn+8ZXvjsAabbHBlTHZjvKepFoiiH4Oa7KwbdFxMvaeTjq5/tTiH0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1644666684; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=M9Md7VHdqpcsXByXOe7GCfnmRVCmiscLXP5WcjpsDQM=; b=lMFQGbP99nroydX257T8dUNITsHjCBPA1OnIzczVRI9L2SP36Nhxf3PmCbdPs0OLDm//iCqyG4NPQy+Pe5jhk6T9TV6kalUTJl/5kXt60oAWJteDfwSc7az9Pfwrfqxcoal6Hh4dafC2zA0AYswS69dJryEQVpFA9pwyqrPsV0k= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1644666684; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=M9Md7VHdqpcsXByXOe7GCfnmRVCmiscLXP5WcjpsDQM=; b=NNyCYFNZ3eZH48CUVPQY0oG48QuBtnOUaNwljdQSwpJRwzD28u/d0h0SSQOA3nIM J+UiT7NCq4Yd/jLDZJ/nGMhYzq1t6xBZz8GqxgBzy+mLZob+4j+A2AfCIN6iEAjV7fR O9cpS0+BwwKrG9vg1lo04OmdjrT1llAGnRaSLiig= Original-Received: from localhost (p4fd5a982.dip0.t-ipconnect.de [79.213.169.130]) by mx.zohomail.com with SMTPS id 1644666683424955.5225428525816; Sat, 12 Feb 2022 03:51:23 -0800 (PST) In-reply-to: <098bbd5f1c81414521015479b7e2b17d8809f1bd.camel@riseup.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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:18082 Archived-At: Hi adriano, I=E2=80=99ve got no good answers as to =E2=80=9Cwhy=E2=80=9D things are the= way they are, but the manual explains the range of these values: > It seesm to be > > (tm:mon %3) > > This returns > > 11 > > I expected 12 but ok, I recognize this kind of weirdness -- Scheme Procedure: tm:mon tm -- Scheme Procedure: set-tm:mon tm val Month (0-11). > I'm unhappy with=20 > > (tm:year $3) > > This returns > > 120 > > it's 2020 > > Why would 120 represent 2020 ? -- Scheme Procedure: tm:year tm -- Scheme Procedure: set-tm:year tm val Year (70-), the year minus 1900. I don=E2=80=99t know why this would be useful, but that=E2=80=99s what it i= s =C2=AF\_(=E3=83=84)_/=C2=AF --=20 Ricardo