Timezone and Daylight Savings information can change without notice. A simple piece of legislation could alter DSL for an area and render datetime information useless for a certain area on the globe, suddenly impacting code dependent on a server's or client's local time. And, timezones only loosely reflect actual sunset/sunrise times anyway.
There are several PHP userland libraries which this unpredictable definition of "time" could affect, including DateTime
, date
, and others. Outside of userland, there may be internal code which relies on timezone conversions.
How does PHP's libraries account for the ever changing definitions of dates, times, and timezones?