Click here to Skip to main content
15,890,438 members
Articles / Desktop Programming / WPF

.NET DateTime, A Tale About Best Practices and Time Travel

Rate me:
Please Sign up or sign in to vote.
5.00/5 (11 votes)
26 Oct 2020Apache3 min read 8.5K   10  
In this article, we investigate how DateTime issues are avoided.
Here, we look look at the effect of the daylight saving time (DST) on Local DateTime values, the best practice of using Utc DateTime values, what makes our best practice harder to follow, and how one should specify AssumeLocal (or AssumeUniversal) and AdjustToUniversal.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Apache License, Version 2.0


Written By
Software Developer (Senior) Microsoft
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions