.net - Nullable-How to compare only Date without Time in DateTime types in C#? -
.net - Nullable-How to compare only Date without Time in DateTime types in C#? -
how compare date without time in datetime types in c#.one of date nullable.how can that??
you can utilize date property of datetime object
datetime x; datetime? y; if (y != null && y.hasvalue && x.date == y.value.date) { //dosomething } c# .net datetime
Comments
Post a Comment