From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jude DaShiell Newsgroups: gmane.emacs.help Subject: Re: sunrise and sunset times Date: Fri, 29 Jul 2016 19:05:27 -0400 (EDT) Message-ID: References: <87twf8bd4n.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Trace: ger.gmane.org 1469833579 17509 80.91.229.3 (29 Jul 2016 23:06:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Jul 2016 23:06:19 +0000 (UTC) To: Michael Heerdegen , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 30 01:06:10 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 1bTGr4-0004CK-1q for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Jul 2016 01:06:10 +0200 Original-Received: from localhost ([::1]:33513 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTGqy-0005e4-55 for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Jul 2016 19:06:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTGqU-0005dk-Fj for help-gnu-emacs@gnu.org; Fri, 29 Jul 2016 19:05:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bTGqO-0001aX-9w for help-gnu-emacs@gnu.org; Fri, 29 Jul 2016 19:05:33 -0400 Original-Received: from mailbackend.panix.com ([166.84.1.89]:56592) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTGqO-0001aT-6N for help-gnu-emacs@gnu.org; Fri, 29 Jul 2016 19:05:28 -0400 Original-Received: from panix1.panix.com (panix1.panix.com [166.84.1.1]) by mailbackend.panix.com (Postfix) with ESMTP id 067E017367; Fri, 29 Jul 2016 19:05:27 -0400 (EDT) Original-Received: by panix1.panix.com (Postfix, from userid 20712) id C888614B9A; Fri, 29 Jul 2016 19:05:27 -0400 (EDT) Original-Received: from localhost (localhost [127.0.0.1]) by panix1.panix.com (Postfix) with ESMTP id C54C214B7F; Fri, 29 Jul 2016 19:05:27 -0400 (EDT) In-Reply-To: <87twf8bd4n.fsf@web.de> User-Agent: Alpine 2.20 (NEB 67 2015-01-07) X-detected-operating-system: by eggs.gnu.org: GNU/Linux (Android) X-Received-From: 166.84.1.89 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:111010 Archived-At: Documentation states accuracy will be within a minute or two and for the most part what's what's happened here too. On Fri, 29 Jul 2016, Michael Heerdegen wrote: > Date: Fri, 29 Jul 2016 12:52:24 > From: Michael Heerdegen > To: help-gnu-emacs@gnu.org > Subject: Re: sunrise and sunset times > > 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. > > > --