Matā can ask about the time of a past event.

Interrogation (al-Istifhām): Particles, Conception, Assent and Rhetorical Uses