You can make this visit because you will be in New Zealand for no more than 6 months in that 12-month period. This means you will be in New Zealand for a total of 6 months in the period 1 October 2022 to 30 September 2023 - this is the 12-month period counting back from your intended departure date. You plan to arrive in New Zealand on 1 July 2023, and leave on 30 September 2023 (your intended departure date). You decide you want to make a second visit, again for 3 months. You visit for the first time for 3 months, from 1 January 2023 to 31 March 2023. This means you can stay in New Zealand for visits of up to 3 months. You are travelling on a passport from Canada.