DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
7+3 =
Submit