Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

moment check days of difference between days

var a = moment([2007, 0, 29]);
var b = moment([2007, 0, 28]);
a.diff(b, 'days') 
 
PREVIOUS NEXT
Tagged: #moment #check #days #difference #days
ADD COMMENT
Topic
Name
8+1 =