nested functions;.todays(datediff(student_info,'1999-8-31')) : im new to sql and php. I want to calculate age of a student(in months) by the differentia of dob(table field) and fixed date(;. 31-8-2016). and also want to store that value in the field named 'age'