Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

days difference in moment js

var now = moment(new Date()),
end = moment(fd),
days = end.diff(now, 'days');
Source by helpdesk.castoredc.com #
 
PREVIOUS NEXT
Tagged: #days #difference #moment #js
ADD COMMENT
Topic
Name
7+2 =