A DateTime object in many programming languages describes a date and a time of day.

- Stackoverflow.com Wiki
4 articles, 0 books.

DateTime is a widely used .NET type. A lot of developers use it all the time, but not all of them really know how it works.


I’m going to show you four common mistakes C#/.NET developers make when dealing with time. And that’s not all. I’ll also show what you should do to avoid them and make your code safer and easier to reason about.