I'm trying to select the items that have expired in my database but nothing is ever returned. I've tried the following:
select * from productTable where columnExpiration < date( currentDate)
All dates in the format yyyy-mm-dd
When that didn't work I tried:
Select* from productTable where columnExpiration < currentDate
Any suggestions? This is really starting to drive me crazy. Thanks