Skip to content

Uses JS getCurrectPosition with PHP date_sunrise/date_sunset methods

Notifications You must be signed in to change notification settings

decimal/getLocationSunriseSunset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Vanilla Javascript for getting the users latitude and longitude. 
Passes the values to get-sunrise-sunset.php to calculate the Sunrise Sunset and Twilight times of the day.
Outputs the times for: Astronomical Twilight, Nautical Twilight, Civil Twilight, Sunrise and Sunset times (http://php.net/manual/en/function.date-sunrise.php)

About

Uses JS getCurrectPosition with PHP date_sunrise/date_sunset methods

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages