German phrase
Wie lange kann ich ~?
Meaning
How long can I ___?
When to use it
It asks about duration. Use it to ask how long an action is possible.
Example dialogue
Wie lange kann ich mit meinem Studentenvisum bleiben?
How long can I stay on my student visa?
Das hängt vom Visum ab; ein Studentenvisum gilt meist für ein Jahr.
That depends on the visa; a student visa is usually valid for one year.