Return the number of days between two dates

Write a function that takes two date instances as argument. It should return the number of days that lies between those dates.
JavaScript
Console