SyntaxFix
Write A Post
Hire A Developer
Questions
Take a look at DATEDIFF, this should be what you're looking for. It takes the two dates you're comparing, and the date unit you want the difference in (days, months, seconds...)