hey all,
i have a problem regarding date diff function of mysql, i can use it and it is simple but i dont understand that how do i use it to collect difference within the table field. e.g. i have a column "dob" and i want to write a query that will do something like
select dateDiff(current_timeStamp,dob) from sometable 'here dob is the table column
i mean i want difference from current date time to the table field "dob", each query result brings its difference is the age of the user.
i hope i am clear :(
but i dont think so since i cant understand my own question but still please if somebody understood then answer me
thanks