Added subtract-dates utility function.