DateTime.Now and DateTime.UtcNow

added by DotNetKicks
2/2/2022 3:08:36 PM

292 Views

In this article, we're going to learn about the difference between DateTime.Now and DateTime.UtcNow in C#. Additionally, on a more general level, we're going to learn the difference between formatting DateTime values in local time vs in universal time, and also how to check if a date is sent in a local or universal format.


0 comments