Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Algorithms
  4. calculate the sun-up

calculate the sun-up

Scheduled Pinned Locked Moved Algorithms
algorithmshelp
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    daniel99
    wrote on last edited by
    #1

    I´m looking for a algorithm to calculate the sun up. Who can help me.

    L E 2 Replies Last reply
    0
    • D daniel99

      I´m looking for a algorithm to calculate the sun up. Who can help me.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Can you be more specific? Do you mean to say that you need a function to calculate when sunrise is? In different timezones? It's hard to tell what you are talking about.

      D 1 Reply Last reply
      0
      • L Lost User

        Can you be more specific? Do you mean to say that you need a function to calculate when sunrise is? In different timezones? It's hard to tell what you are talking about.

        D Offline
        D Offline
        daniel99
        wrote on last edited by
        #3

        Rigth, I need fucntion to calculate when sunrise is.

        C 1 Reply Last reply
        0
        • D daniel99

          Rigth, I need fucntion to calculate when sunrise is.

          C Offline
          C Offline
          CoffeeAddict19
          wrote on last edited by
          #4

          It's a little involved. something of an algorithm: http://users.electromagnetic.net/bu/astro/sunrise-set.php[^] a program in vb which is supposed to calculate it: http://www.freevbcode.com/ShowCode.asp?ID=341[^] A piece of advice: you'll get answers faster if you ask more specific questions. edit...something better: http://www.4guysfromrolla.com/webtech/010800-1.shtml[^] -- modified at 13:35 Saturday 13th January, 2007

          1 Reply Last reply
          0
          • D daniel99

            I´m looking for a algorithm to calculate the sun up. Who can help me.

            E Offline
            E Offline
            El Corazon
            wrote on last edited by
            #5

            daniel99 wrote:

            I´m looking for a algorithm to calculate the sun up. Who can help me.

            The Sun API DLL[^] but if you prefer the algorithms itself (not a DLL) then you might want to look at the bottom Middle of this[^] (Ben always has to go add stuff before I reference it ;) )

            _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups