This question already has an answer here:
- How does the coin limit work? 1 answer
As an example, let's say I put a Pokémon in a gym, say, Tuesday at noon, and it remains in the gym until Thursday at noon. Assuming I have nothing else in gyms collecting coins, would I get coins for this on Tuesday (where the Pokémon wasn't returned to me), or Wednesday (where it was neither placed in the gym nor returned); or would I only get coins for Thursday?