Time is an illusion (lunchtime doubly so)
summary
Time zones are political and change often: the tz database is at version 2018.5 here, PHP shows 143 historic transitions for zones, and the abbreviation CEST maps to 51 different zone identifiers, so offsets alone are useless. Use DateTimeImmutable with real IANA names (DateTimeZone) and keep server-time as UTC; store UTC datetime plus the timezone name separately so conversions stay correct. Update the tzdb via PHP releases or the pecl timezonedb and render client-side with Moment.js or geolocation-derived zones.
AI-written summary · about
chapters (4)
- 0:00Start
- 17:53Daylight Saving Time
- 20:21Summary • Timezones are political definitions
- 23:12Timezone informations change
related talks
40mTime, Numbers, Text
51mBeyond DateTime: a bulletproof approach to date and time
38mA Matter of Time
01h 05mWorking with Time is Easy
29mPolars and time zones: everything you need to know
38mUTC is Enough for Everybody, Right?
42mWorking with Dates and Times (It's Possible!)
27mTime is a Social Construct
