I have a variable 'SeqDay = aqDateTime.Today();' that contains the date that looks like 2/10/2011, (I know it is an object). In the code Iím clicking on an aliases object SeqItemTxt that contains a string that was entered from the above variable. The code Ďif ( SeqDay == SeqItemTxt )í does not match and I believe it is because Iím comparing a date object even thou the watch list, lists both as strings.
Now the question, how do I convert the date object to a string that can be compared?
SeqDay = aqDateTime.Today();
if ( SeqDay == SeqItemTxt )