(1) The period prescribed for the commencement of an action on any contract, covenant, obligation, or liability founded on an instrument in writing is within 6 years. (2) The period prescribed for the commencement of an action on a contract, account, or promise not founded on an instrument in writing is within 5 years. (3) The period prescribed for the commencement of an action on an obligation or liability, other than a contract, account, or promise, not founded on an instrument in writing is within 3 years.