Section 5(1)(a) in The U.P. General Clauses Act, 1904
(a)[ in the case of an Uttar Pradesh Act made before the commencement of the Constitution it shall come into operation, if it is an Act of the Legislature, on the day on which the assent thereto of the Governor, the Governor-General or His Majesty, as the case may require, is first published in the Official Gazette, and, if it is an Act of the Governor, on the day on which it is first published as an act in the Official Gazette; [Substituted by the A.O.1950.]