The Interpretation Act 1957 explains when laws commence and what happens when a law is repealed.
Commencement of laws
If a day is not set for the coming into operation of a law, that day will be the day when the law was first published in the Gazette as a law.
If any act provides