PHP Classes
elePHPant
Icontem

MoonPhase: Determine the Moon phase on a given date

Recommend this page to a friend!
  Info   View files View files (32)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2009-04-09 (7 years ago) RSS 2.0 feedStarStarStarStar 62%Total: 683 This week: 1All time: 4,558 This week: 1,047Up
Version License PHP version Categories
moon_phase 1.0GNU General Publi...5.0PHP 5, Time and Date, Physics
Description Author

This class can be used to determine the Moon phase on a given date.

It takes a given day, month and year and determines the phase of the Moon for that day. It can also compute the distance of the Moon to the Earth.

The class can also generate HTML to display a picture that represents the computed Moon phase.

Picture of Hamed Afshar
  Performance   Level  
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imageimages_moon (30 files)
Accessible without login Plain text file index.php Example Example usage
Plain text file moonphase.php Class Source of the class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:683
This week:1
All time:4,558
This week:1,047Up
 User Ratings  
 
 All time
Utility:91%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:62%StarStarStarStar
Rank:963