Calculate and Draw Moon Phase
2016-08-23
0 0 0
no vote
Other
Earn points
Translated by maninwest@Codeforge Author:Mostafa Kaisoun@CodeProject
Many communities pay close attention to the lunar calendar next to the solar calendar, so I looked at many sites on the internet to know how to calculate the age of the moon on any given day. I found many sites offering different ways, I took what I found to give results closer to the truth.
I've noticed that most sites agree on the expense of the Julian date but do not agree to calculate the age of the moon, and found the difference between these sites up to one day, and when the moon's age is 30 days, the result is zero in some sites.
In this program, I calculated the approximate age of the moon in days and did not give attention to the parts of the day of the hours and minutes.
In order for the program would be more useful, I addPictureBoxcontrol to display the lighted part of the moon and darkness part of the moon commensurate with the age of the moon.
Many communities pay close attention to the lunar calendar next to the solar calendar, so I looked at many sites on the internet to know how to calculate the age of the moon on any given day. I found many sites offering different ways, I took what I found to give results closer to the truth.
I've noticed that most sites agree on the expense of the Julian date but do not agree to calculate the age of the moon, and found the difference between these sites up to one day, and when the moon's age is 30 days, the result is zero in some sites.
In this program, I calculated the approximate age of the moon in days and did not give attention to the parts of the day of the hours and minutes.
In order for the program would be more useful, I addPictureBoxcontrol to display the lighted part of the moon and darkness part of the moon commensurate with the age of the moon.
Click the file on the left to start the preview,please
!The preview only provides 20% of the code snippets, the complete code needs to be downloaded
Report
vbscript
计算
绘制
月相
Related Source Codes
Used to display the cycle of this year
0
0
no vote
Wigan code conversion
0
0
no vote
shellcode
0
0
no vote
Homemade computer
0
0
no vote
Base64 encoding class of ASP
0
0
no vote
No comment