Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript subtract 2 dates get difference in minutes

var diff = Math.abs(new Date('2011/10/09 12:00') - new Date('2011/10/09 00:00'));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #subtract #dates #difference #minutes
ADD COMMENT
Topic
Name
9+3 =