Hi,

I want to find if the difference between the days of two dates is less than
or greater than some number. The year is not in the picture and it can be
anything. I gave the following query but it is not working.

SELECT * FROM date_details WHERE (date(date_details.value,%j) -
date('now',%j) < 30)

Can someone pls help me?
Thanks a lot.
-- 
View this message in context: 
http://www.nabble.com/subtracting-days-from-two-dates-tf1855577.html#a5066813
Sent from the SQLite forum at Nabble.com.

Reply via email to