hello,
This is quite hard, but hope you will get my point .
The general logic starts here :
suppose we have nine planets which are constantly moving in the space say 12 zodiacs. each zodiac is made up of 30.00.00 degress.
There are 27 constellations(Nakshatra) in 12 zodiacs, so each constellation has a degree of 360\27= 13 degrees 20 minutes 00 subminutes (don't literally divide, divide by using degrees method).
so, each zodiac is made up of 2 full constellations and one fourth of the third one and hence the 12 zodiacs accordingly consist of the 27 contellations, equaly.
note: the zodiac and the constellations are fixed, they are not moving.
but the planets are moving. Every planet is moving with different speed, in the different degrees in different zodiacs.
Have you understood this much, please proceed if you have followed the above thing.
now as the time increases in seconds, there is rise in subminutes planets. Now when the subminutes has crossed the limit of 60 , the minute is incresed by 1 and when the minute has crossed limit of 60 the degree is incresed by 1.
Like this when the planet has crossed 13 degrees 20 minutes 00 subminutes, it goes in to next constellation, and further when it crosses 30degrees00min00submin, it goes in to next zodiac, this is there for each planet.
If the user select the date and time, the output should be the planets(in degrees) in zodiacs and constellation which are there for that particular date and time .
Has anyone here got what i am trying to say.
I can provide the more details , if required.
how to implement the above code ?
Please suggest something.