Create a function that compute the night difference between two dates