单项选择题

Peter had no idea how long will he spend there ______ he got the order.

A. while
B. until
C. after
D. when