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  
Name: Hamed Afshar <contact>
Classes: 5 packages by
Country: Iran Iran
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

  Files folder image Files  /  images_moon  
File Role Description
  Accessible without login Image file moon0.gif Photo moon0
  Accessible without login Image file moon1.gif Photo moon1
  Accessible without login Image file moon10.gif Photo moon10
  Accessible without login Image file moon11.gif Photo moon11
  Accessible without login Image file moon12.gif Photo moon12
  Accessible without login Image file moon13.gif Photo moon13
  Accessible without login Image file moon14.gif Photo moon14
  Accessible without login Image file moon15.gif Photo moon15
  Accessible without login Image file moon16.gif Photo moon16
  Accessible without login Image file moon17.gif Photo moon17
  Accessible without login Image file moon18.gif Photo moon18
  Accessible without login Image file moon19.gif Photo moon19
  Accessible without login Image file moon2.gif Photo moon2
  Accessible without login Image file moon20.gif Photo moon20
  Accessible without login Image file moon21.gif Photo moon21
  Accessible without login Image file moon22.gif Photo moon22
  Accessible without login Image file moon23.gif Photo moon23
  Accessible without login Image file moon24.gif Photo moon24
  Accessible without login Image file moon25.gif Photo moon25
  Accessible without login Image file moon26.gif Photo moon26
  Accessible without login Image file moon27.gif Photo moon27
  Accessible without login Image file moon28.gif Photo moon28
  Accessible without login Image file moon29.gif Photo moon29
  Accessible without login Image file moon3.gif Photo moon3
  Accessible without login Image file moon4.gif Photo moon4
  Accessible without login Image file moon5.gif Photo moon5
  Accessible without login Image file moon6.gif Photo moon6
  Accessible without login Image file moon7.gif Photo moon7
  Accessible without login Image file moon8.gif Photo moon8
  Accessible without login Image file moon9.gif Photo moon9

 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