On the 38th day after the election, or as soon within that time as the returns have been received from the entire state or a congressional district, as the case may be, the Secretary of State shall determine the votes cast for candidates for Senator and Representative and certify to the persons having the highest number of votes for the respective offices as duly elected.
Ca. Elec. Code § 15503