According to this help article on cancellation:

If you decide to cancel your subscription, it will remain active until the very last day of the current month you paid for, and you will not be charged for the following month.

Let's say I pay for the subscription on Dec 25th. The payment processes. What happens if I cancel on the 26th? Will the games only be available until Dec 31? Or will they be available until the next payment date?