Upgrade to Pro — share decks privately, control downloads, hide ads and more …

A Tale about Time - PHPDay 2018

A Tale about Time - PHPDay 2018

Timezones, DST, human readable diffs, standardised formats, intervals, getting the last Tuesday of next month… Dealing with timestamps seems easy, but there’s a lot to it. It’s very easy to do it wrong. Learn how to do this properly and you’ll never be chasing weird time related bugs anymore!

Hannes Van De Vreken

May 12, 2018
Tweet

More Decks by Hannes Van De Vreken

Other Decks in Technology

Transcript

  1. “We'd like to start the happy hour 30 minutes earlier

    than previously planned … and the best solution would be to move your talk”
  2. Helsinki Sunrise: 9:24 - 3:54 Sunset: 15:13 - 22:50 Quito

    Sunrise: 6:08 - 6:12 Sunset: 18:16 - 18:19
  3. %

  4. &/'