When vs If and asking in questions

“If” implies that you’re not sure whether you will see him again.

“When” implies that you’re not sure at what time or date you will see him again.

https://dictionary.cambridge.org/us/grammar/british-grammar/if-or-when