Search Results

  1. date_sun_info (PHP 5 >= 5.1.2, PHP 7, PHP 8) date_sun_info — Returns an array with information about sunset/sunrise and twilight begin/end

  2. Jan 1, 2013 · Definition and Usage The date_sun_info () function returns an array containing information about sunset/sunrise and twilight begin/end, for a specified day and location.

  3. Jul 1, 2018 · The date_sun_info () is an inbuilt function in PHP which is used to find the information about sunset/sunrise and twilight begin/end for a specified day and location.

  4. Execute date_sun_info Online. Info and examples on date_sun_info PHP Function from Date and Time - Date and Time Related Extensions

  5. Mar 3, 2023 · The date_sun_info() function is a powerful PHP function that provides information on the sunrise, sunset, and other related times for a given date and location. This function can be particularly useful for developers who are building applications that need to work with time and location data, such as weather applications.

  6. Jan 1, 2013 · The date_sun_info () function returns an array containing information about sunset/sunrise and twilight begin/end, for a specified day and location. Tip: Look at the date_sunrise () function to return the sunrise time for a specified day and location.

  7. People also ask

  8. Simple usage example of `date_sun_info ()`. The `date_sun_info` function in PHP returns an array containing detailed information about sunset, sunrise, and the beginning and end of different twilight periods for a given location and date. This function provides useful data for handling time-based calculations or displaying relevant information based on the sun's position.