When And While in the YLT
3 verses of the Young's Literal Translation have both "when" and "while".
John 5:7 The ailing man answered him, ‘Sir, I have no man, that, when the water may be troubled, he may put me into the pool, and while I am coming, another doth go down before me.'
John 9:4 it behoveth me to be working the works of Him who sent me while it is day; night doth come, when no one is able to work: --
Acts 22:17 ‘And it came to pass when I returned to Jerusalem, and while I was praying in the temple, I came into a trance,