In this section

Historical Rules · 5 June 2017

Rule 503.2

Official source text from the 5 June 2017 Rules release

If a spell states that it may be cast only “after [a player’s] upkeep step,” and the turn has multiple upkeep steps, that spell may be cast any time after the first upkeep step ends.

Find this number in the current Rules