PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

Sunrise / Sunset

Three methods provide access to geographically localized information about the Sun, including the time of sunrise and sunset.

Table 51. Miscellaneous Methods

Method Explanation

getSunrise($location)

Return the date's time of sunrise

getSunset($location)

Return the date's time of sunset

getSunInfo($location)

Return an array with the date's sun dates

Zend Framework