I am trying to SELECT records from my database WHERE the EventDate is equal to or greater than the current date. According to the SQL date functions date('NOW') should give me the current date and date(EventDate) should accept the string formatted dated to work with - but it doesn't work.
Can someone tell me what I have got wrong in this SQL WHERE clause please?
Cheers
Penfound
Can someone tell me what I have got wrong in this SQL WHERE clause please?
B4X:
WHERE ((EventMonth ='" & tempMonth & "') AND (date(EventDate) >= date('NOW')))
Cheers
Penfound