Sweet! Did you notice how we created d1 and d2? The getTime() method returns the time in milliseconds from January 1, 1970.
d1
d2
getTime()
Are you sure that is the correct way to call that function?