DateTime
Dealing with Dates and Time is a complex issue in IT world. Correctly handling date and time information requires considering the nature of what we are storing as time information and how to apply it to a specific location. This includes calendars, time zone information, daylight-savings periods, and offsets for comparison of different values.
Below are some good references on this topic.
The best overall article is the one from W3C. I would consider it a must-read if you have anything to do with DateTime information.
Stack Exchange sources:
- Daylight Saving Time and Time Zone best practices, Stack Overflow (link)
- TimeZone Tag, Stack Overflow (link)
- Best practice to store DateTime based on TimeZone, Stack Exchange (link)
MSDN sources:
- Coding Best Practices Using DateTime in the .NET Framework (link)
- Choosing Between DateTime, DateTimeOffset, and TimeZoneInfo (link)
- DateTimeOffset Structure (link)
- Converting Between DateTime and DateTimeOffset (link)
Other articles
Noda Time
Noda Time
Reference on how to transfer to and from UTC (link).