Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

compare two dates in javascript

a = new Date(1995,11,17);
b = new Date(1995,11,17);

a.getTime() === b.getTime() // prints true
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #compare #dates #javascript
ADD COMMENT
Topic
Name
8+2 =