An action based upon, or connected with, a demand warrant shall be commenced within four years from the date of the warrant, and an action based upon, or connected with, a time warrant shall be commenced within four years from the date of maturity of the time warrant.