jema

jema

  • NA
  • 1
  • 0

how to compare date today with another date

Feb 17 2006 4:25 AM
actually i want to create a reminder for user in my system. i managed tp create a reminder date (nextMaintDate). But now i want to compare the date today with nextMaintDate, if its found to be the same, the data will out into listview that i create. i already do the coding but there is problem with my query..this is my coding:

date = DateTime.Today;

string query = "SELECT equipmentName FROM equipment WHERE nextMaintDate >= date;

**help me please, im begineer user. but im try to do it...huhuhu

Answers (1)