Checks if time has passed 24 hours