2 months, it takes less than 2 months for Endgame Fever to crescendo followed by the fever abating.
That was what Thanos needed most of all, a reminder from a little imp on his shoulder telling him "this too shall pass."
The Joker: You have all these rules, and you think they'll save you!
Batman: I have one rule.