Answers for ".net compare dates with and withou time"

C#
2

c# how to compare 2 dates without time

if(dateTime1.Date == dateTime2.Date)
  // or 
if (dateTime1.Date.CompareTo(dateTime2.Date))
{
}
Posted by: Guest on May-14-2020

Code answers related to ".net compare dates with and withou time"

C# Answers by Framework

Browse Popular Code Answers by Language