~/talk

Time Zones and Calendars are a PITA

Talkat Dutch PHP Conference 2019 · 2019-06-06..06-08· [php, web-platform]
slides:none on file

Time handling is full of gotchas: half hour offsets and leap seconds exist, DST rules change with little or no notice so the tz database updates 5–25 times a year, and operating systems or bundled PHP builds go out of date unless refreshed with pecl timezonedb or OS packages. PHP’s DateTime is mutable by design (a legacy bug) so prefer DateTimeImmutable for safe math. Store either a UTC epoch for an exact instant or a local datetime plus timezone for user‑local future events, and beware ISO week vs calendar year differences (week 53).

AI-written summary · about

  1. 0:00Intro
  2. 0:46Quiz Time!
  3. 10:48Timezone Support
  4. 13:57Default Timezones
  5. 15:44Unix timestamps and timezones
  6. 19:27Parsing Dates
  7. 21:11Modifying Dates
  8. 23:15Immutable Date Time
  9. 25:07Using Timezones
  10. 27:41Timezones Utilities Restricting listing by geographical location
  11. 29:37Intervals
  12. 36:31Relative Time "first day of next month"
  13. 37:25Periods literating over a period
  14. 43:26Calendar
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.