Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript get seconds between two dates

var secondBetweenTwoDate = Math.abs((new Date().getTime() - oldDate.getTime()) / 1000);
 
PREVIOUS NEXT
Tagged: #javascript #seconds #dates
ADD COMMENT
Topic
Name
3+8 =