PHP Classes

Sunset & Sunrise: Calculate the sunrise and sunset time of any place

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 59%Total: 2,021 All time: 1,944 This week: 660Up
Version License Categories
sun_class 1.0.0GNU General Publi...Time and Date, Geography
Description 

Author

This class can be used the to calculate the time of sunrise and sunsite of any place in the world.

It takes the latitude and longitude coordinates of a place as well its timezone offset and calculates the sunrise and sunset time for today.

The calculations also consider daylight savings time adjustments.

This class calculates sunrise and/or sunset for specific timezone, latitude and longitude.

Picture of Radek Piekarz
Name: Radek Piekarz <contact>
Classes: 3 packages by
Country: Poland Poland
Age: ???
All time rank: 50014 in Poland Poland
Week rank: 215 Up2 in Poland Poland Up

  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file example.php Example Example script
Plain text file sun_class.php Class Source of class.

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,021
This week:0
All time:1,944
This week:660Up
User Ratings User Comments (1)
 All time
Utility:86%StarStarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:-
Examples:77%StarStarStarStar
Tests:-
Videos:-
Overall:59%StarStarStar
Rank:1348
 
Excellent
15 years ago (kishore kumar)
70%StarStarStarStar