Krsna was very expert in dealing with people according to circumstances, country, time and paraphernalia. How He could take advantage of a particular time, circumstance and person is expressed by Him while talking to Uddhava about His rasa dance with the gopis. He says: "The most opportune time is the full moon night in autumn, like tonight. The best place within the universe is Vrndavana, and the most beautiful girls are the gopis. So, My dear friend Uddhava, I think I should now take advantage of all these circumstances and engage Myself in the rasa dance."
Link to this page: https://prabhupadabooks.com/nod/21/expert_judge_of_time_and_circumstances