Skip to content
0:00 / 0:00

#datetime#nodatime#timezone

Jon Skeet - Dates, time zones and calendar systems - oh my!

Dev Around The Sun

519 subscribers • 2 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Jon Skeet, software engineer and author

Intermediate. Assumes working knowledge.

660 views6 years ago1 recommendation

Computer scienceTools and practiceData structuresTesting

Jon Skeet explores the complexities, edge cases, and common pitfalls of handling dates, time zones, and calendar systems in software.

Most applications need to handle date and time data at some point. If you're lucky, it's just system-generated timestamps. If you're unlucky, you're writing a calendar application which needs to work across users in multiple time zones and calendar systems. This talk will include a few genuinely helpful tips and tricks for writing robust, readable, testable date/time code... but a large part of it is likely to be a peek into some of the "interesting" decisions that humans have made about handling time, and the consequences those decisions can have for code. (Just as a trivial example, this is conference starts on May 12th, i.e. 12/5/2020 if you're in the UK. Not December 5th, i.e. 12/5/2020 if you're in the US. Weep with me, sisters and brothers...)

Why it's here

1 person recommends this

What people say. Recommended as an entertaining and informative look at the gotchas of date and time programming.

u/blckshdwin r/dotnet • Recommends

On “What are some packages that you always use?”

If your not ever dealing with local time or utc DateTime is probably fine for you. DateTimeOffset is a little better but it’s not perfect. Jon Skeet has a fun video with some time one gotchyas if your interested. link to this video