From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: sunrise and sunset times Date: Fri, 29 Jul 2016 18:52:24 +0200 Message-ID: <87twf8bd4n.fsf@web.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1469811219 28120 80.91.229.3 (29 Jul 2016 16:53:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Jul 2016 16:53:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 29 18:53:33 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bTB2S-0003Ko-T4 for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Jul 2016 18:53:33 +0200 Original-Received: from localhost ([::1]:60633 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTB2M-0000dn-Tj for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Jul 2016 12:53:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTB1j-0000XA-Li for help-gnu-emacs@gnu.org; Fri, 29 Jul 2016 12:52:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bTB1g-0000xV-30 for help-gnu-emacs@gnu.org; Fri, 29 Jul 2016 12:52:47 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:57539) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTB1f-0000vv-ST for help-gnu-emacs@gnu.org; Fri, 29 Jul 2016 12:52:44 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bTB1X-0002ve-14 for help-gnu-emacs@gnu.org; Fri, 29 Jul 2016 18:52:35 +0200 Original-Received: from dslb-088-067-073-210.088.067.pools.vodafone-ip.de ([88.67.73.210]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Jul 2016 18:52:35 +0200 Original-Received: from michael_heerdegen by dslb-088-067-073-210.088.067.pools.vodafone-ip.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Jul 2016 18:52:35 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-088-067-073-210.088.067.pools.vodafone-ip.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cancel-Lock: sha1:tAApBB1Y1rzlHaoSJVGjtVt3xE0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111002 Archived-At: Conor Matthew writes: > https://www.gnu.org/software/emacs/manual/html_node/emacs/Sunrise_002fSunset.html > > For 0N 0W > > Emacs gives > sunrise 0704 > sunset 1909 > > http://aa.usno.navy.mil/cgi-bin/aa_rstablew.pl?ID=AA&year=2016&task=0&place=&lon_sign=-1&lon_deg=&lon_min=&lat_sign=1&lat_deg=&lat_min=&tz=1&tz_sign=1 > gives > sunrise 0703 > sunset 1910 I had a quick look at the Emacs code. A difference of one minute isn't surprising: AFAIK the Emacs calculation is exact - it respects all astronomical effects I know of. But it doesn't try hard to round to whole minutes correctly, so the result may differ from the actual event by an epsilon, where epsilon < 1 min I think. Maybe epsilon < 30 sec for aa.usno.navy.mil if they round "correctly", dunno, I don't know that site. Michael.