ans is 100% correct but i couldn't explain why it is bcoz u didn't post the full question.....
Yes ans is correct it is irrelevant when he deposited the in the bank, we've paid him we'll make entry for the same on same day! it can be used only for reconcilation :)