If the repayment date of my credit card is 17, I will go to the bank to pay it back 100, and then spend it by credit card in the afternoon 100.
Depending on the time of bank deduction, the general bank will automatically deduct money after business hours. Consumption before deduction 100, if not returned, 100 after consumption will be counted as the next period. In fact, some banks will deduct money the morning after the repayment date, so you'd better not take this risk.