~/talk

Generating Dates in PHP

TalkinFrenchat Forum PHP 2017 · 2017-10-26..10-27· [php, web-platform]
links:none on file
slides:none on file

Covers techniques for generating dates in PHP, including using PHP's DateTime and related APIs to create, manipulate and format date and time values. Shows practical approaches and code patterns to handle common problems like relative intervals, time zones, and recurring schedules.

AI-written summary · about

  1. 0:00Date generation intro
  2. 1:04Classic PHP date functions
  3. 2:48mkTime explained
  4. 4:12Last day of previous month
  5. 5:36DateTime vs mkTime
  6. 6:20strtotime overview
  7. 7:26strtotime pitfalls
  8. 10:35DateTime object
  9. 12:20DateTime timezone traps
  10. 13:44DateTimeImmutable benefits
  11. 15:28DateTimeZone explained
  12. 19:45Timezone pitfalls
  13. 21:32DateInterval usage
  14. 22:34Last 10 days
  15. 23:16Last half week
  16. 24:27Avoid month-crossing weeks
  17. 25:27Version date bugs
  18. 27:16Best practices
  19. 28:43Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.