Date for Desert Code Camp - 2013.2  Saturday, November 9, 2013 9:00:00 AM - Saturday, November 9, 2013 5:00:00 PM

Date and Time Fundamentals

Managing dates and times properly is one of the most difficult things to get right in software. This is mostly due to us stupid humans and the how we have introduced nuance into our calendars and clocks. In this session, I will help you straighten it all out. We will cover general concepts such as UTC and GMT, daylight savings time, local time vs. instantaneous time, time zones and the different time zone databases, ISO8601 standards, important date-time gotchas, and more. We will dive deep into classes for managing time in the Microsoft .Net framework, including DateTime, DateTimeOffset and TimeZoneInfo. We will then take a brief look at NodaTime - a C# library aimed at replacing those classes. We will also get a quick look at the JavaScript Date object, and a few JavaScript date/time libraries including moment.js. Code samples will be in either C# or JavaScript, but much of the information is relevant to any modern software language or architecture.

Track

.NET

About the session

The session is approved.

The presenter will not allow another presenter.

There are 32 people interested in this session.

Scheduled

Room
IRN-222
Time
9:00 AM - 10:00 AM
Calendar File
Download

Files

Heads up!  Log in to sign up to teach or attend this session.
Edit Session