In my application(a dlgbox) i need to compare date in a database. The dates in the database look like that:"07/08/01". In the dlgbox, i put a date time picker, with short date style, and the variable linked to it is a COleDateTime m_dlgDate. So, i need to compare the dates in database m_dlgDate. But even if apparently we could find the same date, a COleDateTime variable consider the time too. This is my problem, because with this consideration i will never find the same date. Is anybody could explain how to solve it?
jayjay
jayjay