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 momentjscom.readthedocs.io #
 
PREVIOUS NEXT
Tagged: #days #difference #moment #js
ADD COMMENT
Topic
Name
7+7 =