Calculating Sunrise and Sunset 2


Closed Thread
Results 1 to 18 of 18

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,624


    Did you find this post helpful? Yes | No

    Default Re: Calculating Sunrise and Sunset 2

    Henrik,

    Right, no need for runtime data.

    Any idea where a kind of data table would be to be found?
    Let me Google that for you....
    https://www.timeanddate.com/sun/swed...h=10&year=2024

    It defaulted to Gothenburg for me so obviously you'll need to change that.

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: Calculating Sunrise and Sunset 2

    Isn't the changing sunrise and sunset times mostly a sine wave function, with the 2 times opposite of each other. Basic has a sin function. and the sin values would synchronize with the date and the sin multiplier for minutes change/day value would depend on the latitude of the location of the clock....

Similar Threads

  1. Calculating MKT
    By pedja089 in forum General
    Replies: 1
    Last Post: - 10th November 2013, 15:46
  2. Calculating a checksum
    By simongie in forum General
    Replies: 4
    Last Post: - 21st August 2009, 14:08
  3. Calculating Sunrise and Sunset
    By CocaColaKid in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 21st November 2007, 17:56
  4. calculating speed of a loop
    By EDWARD in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 5th June 2005, 21:34
  5. Sinus calculating !
    By Don Mario in forum mel PIC BASIC Pro
    Replies: 29
    Last Post: - 29th November 2004, 00:56

Members who have read this thread : 2

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts