The payment date determines which fiscal year a payment belongs to, not the work period. If you pay on July 1st or 2nd for work done in June, it counts towards the new fiscal year for tax purposes.
If your Payment Date is in the next fiscal year, your Payrun schedule will be displayed as 53 > 1 > 2 > etc.