Welcome to the NavList Message Boards.

NavList:

A Community Devoted to the Preservation and Practice of Celestial Navigation and Other Methods of Traditional Wayfinding

Compose Your Message

Message:αβγ
Message:abc
Add Images & Files
    Name or NavList Code:
    Email:
       
    Reply
    Re: Julian Date formula for sun algorithm
    From: Jim Hickey
    Date: 2025 Sep 12, 07:28 -0700

    Just to recap, I was looking for a simple algorithm, suitable for use on a programmable calculator (my hp 15C) to calculate GHA and dec of the sun for 2025. Out of curiosity, I tried Copilot to see what it could do. I cut and paste the Copilot results into the attached Word document [pdf added].

    The equation for JD works but the result given in the worked example does not agree with what I get when I put the equation in Excel. My Excel result for JD doe agree with Alex's equation of the NASA JD calculator. As for the rest of the equations, I do not get the same results as the worked example or correct GHA and dec using alternate time tried programs. They are sort of close but definitely not correct and not what I get when I put all the equations in Excel. It does not seem to be a degree/radians issue.

    Cheers,

    J

    File:
    Excel-Algorithm-for-Sun.docx
    File:
    Excel-Algorthm-for-Sun.pdf
       
    Reply
    Browse Files

    Drop Files

    NavList

    What is NavList?

    Join / Get NavList ID Code

    Name:
    (please, no nicknames or handles)
    Email:
    Do you want to receive all group messages by email?
    Yes No

    A NavList ID Code guarantees your identity in NavList posts and allows faster posting of messages.

    Retrieve a NavList ID Code

    Enter the email address associated with your NavList messages. Your NavList code will be emailed to you immediately.
    Email:

    Email Settings

    NavList ID Code:

    Custom Index

    Subject:
    Author:
    Start date: (yyyymm dd)
    End date: (yyyymm dd)

    Visit this site
    Visit this site
    Visit this site
    Visit this site
    Visit this site
    Visit this site