Right.
From the Valvoline website.
Valvoline motor oil does not have a documented expiration date. Under optimal conditions, the product is stable for an extended period of time and can be used as long as the American Petroleum Institute (API) rating on the label continues to meet or exceed the requirements listed in your owner's manual. If the rating is still current, shake the container before use to blend any additives that may have settled.
I would guess that applies to other oil mfg's as well.
Anddddddd;
A joke..
In pure form this stuff has sat in the ground for millions of years so 2 years on the shelf is not even an blink of an eye to this stuff.