Here's the answer:
“你来这儿多久了?”
(nǐ lái zhè'r duō-jiǔ le?)
Watch a real native speaker say it:
Here's how it sounds in a textbook:
Fun fact: the hundreds of thousands of people learning Chinese with Memrise get this phrase correct 87.27% of the time!