How to use the date_sunset() function to get the exact sunset time in daylight saving time?
date_sunset() is a very useful function that can be used to get the sunset time for a specified date and place. For application scenarios that need to deal with daylight saving time (DST, Daylight Saving Time), date_sunset() can also help developers accurately calculate sunset time, just to ensure that the input parameters are correct.
date_sunset