Cal. Civ. Proc. Code § 350
An action is commenced, within the meaning of this Title, when the complaint is filed.