There are a few options here:
- When is the end of the world?
- When the end of the world happens?
- When is the end of the world going?
- When does the end of the world happen?
Any wrong options here? Maybe you have had some other variant?
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance.
This is grammatically and idiomatically fine. It's standard English. Another way of saying it is:
are both ungrammatical.
is a special kind of question. It implies a blasé attitude, sounds ironic, and suggests as much interest as "When does the shoe store close?" It's not a normal way of asking this question. But it's perfect for asking someone who believes that the apocalypse will occur today, for example, when it's going to happen. It's mockery.