Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 11/03/84 (WLS Mods); site escher.UUCP Path: utzoo!linus!decvax!bellcore!ulysses!allegra!princeton!astrovax!escher!doug From: doug@escher.UUCP (Douglas J Freyburger) Newsgroups: net.wanted,net.astro Subject: Phase of Moon from Unix time Message-ID: <75@escher.UUCP> Date: Sun, 23-Feb-86 17:17:13 EST Article-I.D.: escher.75 Posted: Sun Feb 23 17:17:13 1986 Date-Received: Wed, 26-Feb-86 20:32:39 EST Organization: NASA/JPL, Pasadena, CA Lines: 19 Xref: linus net.wanted:7579 net.astro:1312 I am looking for a routine that will return the phase of the moon (in floating, a 0-28 integer, or whatever) from a Unix binary time gotten from 'long time()' or any of the other time routines. I am only interested in the level of accuracy given on calendars with the little pictures of the new moon, first quarter, full moon, and third quarter on them, so timezone and daylight savings corrections are optional. Alternately, anyone who has already built a phase of the moon feature into your 'calendar' utility, would you be willing to share the code? (-)NX in advance, Doug Freyburger -- Doug Freyburger DOUG@JPL-VLSI, JPL Mail Stop 23 escher!doug, escher!teleop!doug Pasadena, CA 91109 etc.