Difference from set date to now;
<%+ moment("12-24", "MM-DD").diff(moment(), "days") %>- In days.<%+ moment("12-24", "MM-DD").diff(moment(), "months") %>- In months.
Lists today’s date in corresponding values;
<%+ moment().format('[Today is] dddd')%>- Lists full day<%+ moment().format('[Today is] LLLL')%>- Lists day, month, date, hour, minute, and second in pm/am.- <%+ moment().format(‘[Today is] ddd, hA’)%> - Lists short day, hour in pm/am.
- <%+ moment().get(‘year’)%> - <%+ moment().get(‘month’)%> - <%+ moment().get(‘D’)%>