This question is used when (see, I used it there, and I had to) you want to ask the time something happened or is going to happen, or similar.
Using it in a sentence:
Q: When are you going to the cinema?
A: I am going to the cinema today at 7 o' clock.
When did New York join the US? When did the Earth form? When was Australia colonised?