I want to compare just the date part (and Not the time) of two VB.NET Date objects. Is there a way to do that?
Just take the date part of each via the Date
property and compare the two:
date1.Date.CompareTo(date2.Date)
Or:
If date1.Date < date2.Date Then