~/talk

Dates and times: Hard, but not impossible

Talkat DotNext 2020 Piter · 2020-06-15..06-18· [dotnet]
slides:none on file

Dates and times are manageable with the right choices: prefer Noda Time types (Instant, LocalDateTime, ZonedDateTime) over System.DateTime, inject a testable clock instead of DateTime.Now, and treat durations (fixed seconds) separately from periods (months/years). Storing UTC timestamps often hides required context—scheduling nine AM later must preserve the original zone rules—so record zone/version when needed. Leap seconds are rare; limit scope to what the app actually needs and document why each date/time type was chosen.

AI-written summary · about

  1. 0:00Introduction and kindness reminder
  2. 1:24Why dates and times are hard
  3. 4:14Key concepts in date and time handling
  4. 10:00Instant in time explained
  5. 12:03Calendar systems and local time
  6. 18:05Understanding time zones
  7. 30:07Durations and periods
  8. 32:59Q&A on NodaTime and .NET design
  9. 46:05Bad practices to avoid
  10. 53:14How to improve date and time code
  11. 1:06:38Summary and final advice
  12. 1:07:42Closing and kindness message
~/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.