From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Alexandrov Newsgroups: gmane.emacs.help Subject: Re: How to subtract timestamp in elisp? Date: Sun, 05 Jul 2020 00:17:48 +0300 Message-ID: References: <87zh8fwn4u.fsf@gmail.com> <87fta730ft.fsf@web.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38500"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 04 23:41:35 2020 Return-path: Envelope-to: geh-help-gnu-emacs@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 1jrpug-0009vG-Ip for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 04 Jul 2020 23:41:34 +0200 Original-Received: from localhost ([::1]:53306 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jrpuf-0007tP-1e for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 04 Jul 2020 17:41:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrplt-0004M3-5t for help-gnu-emacs@gnu.org; Sat, 04 Jul 2020 17:32:29 -0400 Original-Received: from relay-2.mailobj.net ([213.182.54.5]:58539) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrplr-0004Fx-Ck for help-gnu-emacs@gnu.org; Sat, 04 Jul 2020 17:32:28 -0400 Original-Received: from v-1c.localdomain (unknown [192.168.90.161]) by relay-2.mailobj.net (Postfix) with SMTP id BF93412B5; Sat, 4 Jul 2020 23:17:50 +0200 (CEST) Original-Received: by mail-1.net-c.com [213.182.54.15] with ESMTP Sat, 4 Jul 2020 23:17:50 +0200 (CEST) X-EA-Auth: a5/f3ReV+sJZ//gSEEL8OgIb1Y+SD8I6KrlweCi+ciRX51dseTjMX0YBXixpzh8m9uHscTFra2bgxzgzRWn5gEpIZitEX78m In-Reply-To: <87fta730ft.fsf@web.de> (Michael Heerdegen's message of "Sat, 04 Jul 2020 14:54:30 +0200") Received-SPF: pass client-ip=213.182.54.5; envelope-from=dag@gnui.org; helo=relay-2.mailobj.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/04 17:11:29 X-ACL-Warn: Detected OS = Linux 3.1-3.10 X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123498 Archived-At: --=-=-= Content-Type: text/plain Michael Heerdegen wrote: > `format-time-string' to convert back to a time stamp like your input is. Nope. This is for _dates_, while @numbchild@gmail.com is dealing with _lengths_ of media files. It will fail on records longer than 24 hours. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYIACsWIQRSX35grYEsI2F1K7TIsPhUjufz5wUCXwDx/A0cZGFnQGdudWku b3JnAAoJEMiw+FSO5/Pn4owA/2x8G8+VqqNZEOqG/HOuZJHu2cL2HA9XBXEmDEQw nJqrAQCwP4Av/tRn2JFMOS5GqwLc117wg6kHq84aqOtYLSeQAw== =sUvx -----END PGP SIGNATURE----- --=-=-=--