Baking soda lasts almost indefinitely. Baking powder doesn’t last very long past it’s expiry date - ie loses it’s “rising” ability.
But if you add cream of tartar which lasts about 5 years after expiry date, to baking soda, then that will give you a baking powder substitute.
If packed for longer term storage, cream of tartar is also almost indefinite.
thx....