I’ve taken to writing down the date I purchased stuff, too, to help rotate it.
I do that with stuff like laundry detergent, etc just so I can rotate it.
And for some foods, too, but usually, I just copy the best by or exp date in Sharpie so it’s easier to find and read.
We usually only have one spare of things like laundry detergent, and it never goes bad, so I don’t worry about rotating that. I do write the manufacture date of bleach on the jug, because it will lose much of its strength in a year or so.
Writing the dates on cans and other food packaging does make it easier to keep track. We keep pasta in sealed tins or canisters and it will last indefinitely, same with sugar, rice, and other staples. Pinto beans don’t cook up as easily after a few years, though.
I have a legacy can of corned beef with a 2008 date that I’m trying to get up the nerve to open.