alert( new Date(new Date('11/02/2010 00:00:00').getTime() - new Date('10/30/2010 00:00:00').getTime()) ) // Sun Jan 04 1970 03:00:00 GMT+0200