When you invite someone to go out with you, how many days ahead of time do you need to ask?
When you ask someone to hang out with you, how much time do you think you need to give them?
この場合、次のような言い方ができますよ。
ーWhen you invite someone to go out with you, how many days ahead of time do you need to ask?
「人を遊びに誘うとき、何日前に誘うべき?」
to invite someone to go out で「人を遊びに誘う」
ーWhen you ask someone to hang out with you, how much time do you think you need to give them?
「遊びに誘うとき、その人にどのくらいの時間を与えるべきだと思う?」=「どのくらい前に誘うべきだと思う?」
ご参考まで!