SyntaxFix
Write A Post
Hire A Developer
Questions
Also you can use this code: moment("yourDateHere", "YYYY-MM-DD").fromNow(). This will calculate the difference between today and your provided date.