Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

moment js - to find if dates are same by day

var iscurrentDate = startTime.isSame(new Date(), "day");
if(iscurrentDate) {

}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #moment #js #find #dates #day
ADD COMMENT
Topic
Name
7+4 =