Changing interval function to "from", calculates the difference between 2 dates