Using date and time configuration options

I have read the PHP manual but did not find a correct explanation regarding the use of the following parameters in the file php.ini


Date/Time Configuration Options:


Maybe someone can explain when the above settings will be used?


source to share

1 answer

date_sunrise () and date_sunset () are two default php functions that are used to determine the sunrise and sunset times on a specific day, and take longitude and latitude values ​​as inputs, see en /

Like date_sunrise (time (), SUNFUNCS_RET_STRING, $ lat, $ long, $ zenith, $ offset) you can use the default $ lat and $ long values



All Articles