How can I compare 2 DateTimePicker control (configre to display only time) for the time and not the date?
I'm using the following code but it's using the Date of the control and time during the comparison. I only want to compare the time, how can I do that? Thanks.
if ((toTime.Value.CompareTo(fromTime.Value)) < 0)