Getting the difference between two dates in MySQL

wxdqz

New Member
Is it possible to get the difference in days between two date fields within MySQL. It would be fairly simple to have PHP do it, but I would prefer to just have MySQL return the results. I found the period_diff MySQL function, but that returns the difference in months, and I need days. Thanks!
 
Back
Top