IDIOMS

Question of time

(Also a matter of time) said about something that will surely happen.

Example: The criminal will be arrested. It's just a question of time.