Return to Snippet

Revision: 52097
at October 13, 2011 08:18 by tresstylez


Initial Code
var date1 = new Date("10/13/1975");  
var date2 = new Date("10/14/1979");  

var date_diff = Math.abs(date2.getTime() - date1.getTime())/86400000;

Initial URL

                                

Initial Description

                                

Initial Title
Date Difference - Days

Initial Tags

                                

Initial Language
JavaScript