Question: when in past perfect tense?
Answer: The past perfect tense is used to show that something happened before another action in the past. It can also be used to show that something happened before a specific time in the past.