了 in 我在这里两个星期了 / "I've been here for two weeks"
我在这里两个星期了


了 here denotes a completion. It could be rendered with the perfect tense in English. Staying here for two weeks is completed, namely I have been here for two weeks(already).