This kind of thing (When . . . . . then?) is commonly said.
I'd put a comma before 'then'.
However, in the context of asking for a date, this particular question seems to me to be too direct. It suggests to me that the speaker is pressuring the other person too much.