I was using PHP to calculate sunrise and sunset using the built-in functions date_sunrise and date_sunset. But initially, the resulting time was ignoring British Summer Times (BST). The solution was to specify whether daylight saving was in force.
Ian Tresman
I was using PHP to calculate sunrise and sunset using the built-in functions date_sunrise and date_sunset. But initially, the resulting time was ignoring British Summer Times (BST). The solution was to specify whether daylight saving was in force.