Problem with comparing dates and times

sijcooke

Member
Joined
Nov 29, 2009
Messages
9
Programming Experience
10+
Hi All,
I have a problem trying to compare two dates in vb.net... is there a bug in .net??

Please see attached code... you can see the values in the two date variables, but the result of the if statement is going to 'else'... i thought = 0 means the two are equal???

Any help would be very much appreciated.

Best regards,

Sijcooke
 

Attachments

  • VB BUG.png
    VB BUG.png
    67.8 KB · Views: 17
Top Bottom