I think in 2 hours' time means after two hours. So in this case, the time I return it would be after 4 o'clock. The reason I got confused now is that I read many people on a site here claiming in 2 hours' time means within the framework of 2 hours. By the look of the structure, it seems to make sense.