Check if two dates are within 1 hour from each other
Check if two dates are within 1 hour from each other
Write a function that takes two date instances as argument. It should return true if the difference between the dates is less than or equal to 1 hour. It should return false otherwise.