i am using an oracle db. this is my sql stmt.
select avg((to_date('10/23/2003','MM/DD/YYYY') - lastuserdate))
from tablename
my question is, what is exactly happening? i get a result of 400.509981158606....
what i am doing is taking a date column (lastuserdate) and trying to find the average days between lastuserdate and currentdate for all the records. what i don't understand is what is that 400? days?
select avg((to_date('10/23/2003','MM/DD/YYYY') - lastuserdate))
from tablename
my question is, what is exactly happening? i get a result of 400.509981158606....
what i am doing is taking a date column (lastuserdate) and trying to find the average days between lastuserdate and currentdate for all the records. what i don't understand is what is that 400? days?