Skip to content

AhmedTarekHasan/DateTimeStaticVsAbstractedPractice

Repository files navigation

DateTime Best Practices In .NET C#

Best practices to follow when using DateTime in .NET C#


In almost all the software systems we are working on we need to use DateTime to represent a timestamp for some actions.


However, what I noticed is that sometimes we do some mistakes which could be fatal in some occasions.


Therefore, I decided to write this article to share with you some of the best practices to follow when dealing with DateTime in .NET C#


If you are interested into reading more about this topic, you can read the rest of the article.


If you want to support me:

▶ Subscribe to Medium using my referral link
▶ Subscribe to Medium Newsletter
▶ Subscribe to LinkedIn Newsletter
▶ Follow me on Medium
▶ Follow me on Twitter
▶ Follow me on LinkedIn


Authors: