A judgment in any court of record in this state may be revived by proper proceedings or an action at law may be commenced thereon within 20 years next after the date thereof, but not thereafter. An action may be commenced on a judgment obtained in any other state or country within 20 years next after the date thereof or within the period in which a like action might be brought thereon in that state or country, whichever period is shorter, but not thereafter.
N.J.S. § 2A:14-5