Present perfect / Simple Past

Write questions with how long or when

Write questions using how long or when.

 Example: I have a new computer.
How long have you had your new computer?

or
When did you buy your new computer?