这句话应该是不完整的吧?!从昨天上午七点到九点,本身就是一个状语而已,我想你的意思是这句话会用在哪个时态中,答案可以是过去时,也可以是过去进行时,
如:I was out of office from seven to nine yesterday morning.
我昨天上午七点到九点不在办公室.
再如:I was having a con-call with the customer from seven to nine yesterday morning.
我昨天上午七点到九点一直在和客人开电话会议.
供你参考,TKS.