There was a fairly recent case [0] exploring a situation in which the amount of time is 0. In that jurisdiction, if somebody owes you money and pays you money, they aren't entitled for that particular payment to be returned just because it was an "accident".
[0] https://www.google.com/amp/s/amp.cnn.com/cnn/2021/02/16/busi...