SyntaxFix
Write A Post
Hire A Developer
Questions
Just call getTime on each, take the difference, and divide by the number of milliseconds in a day.