Blog Archives

.NET DateTime.CompareTo Function

The .NET DateTime class has a handy CompareTo function that allows you to compare two DateTime objects. However, it’s not always easy to remember how the result relates to the relationship between the two DateTimes being compared.

Tagged with: , , ,
Posted in Blurbs