The difference between the Present Perfect Continuous and Past Perfect Continuous
The Past Perfect Continuous, in contrast to the Present Perfect Continuous, never expresses actions that continue up until now.
- He has been playing for two hours. (He is still playing or he has just stopped.)
- He had been playing for two hours when I arrived. (He is not playing football now.)