When my husband was on hospice, I had some old pain pills I showed the hospice nurse. Asked if I could give them to him. They were several years old from an old surgery I had. She told me that pills pretty much don't have an expiration date. They still have to put one on though. Capsules and liquid .. different story. They do expire.
As a nurse I was taught you should never take medication over a year old.