In my text book it says “kimashita” is the past form of “to come”.
But then in the textbook it says:
How long have you worked here?
Koko de wa dorekurai hataraite kimashita ka?
How does “kimashita” mean “come” in this context?
In this question/answer it says that -ていく (te iku) and -てくる (te kuru) mean a change in state. That would explain the use of te in hataraite, but I am not sure how the information in that question/answer relates to the use of kimashita in the example phrase (in the textbook kimashita is described as meaning the past form of to come. What does came having to do with working?)