last,night是什么时态,如果对它提问怎么问

last night 昨晚,用于一般过去时,

对它提问用When"什么时候“

如:

He finished his homework last night .

When did he finish his homework?