Smoke/CO alarms are sensitive to grease and dust and should be vacuumed, or blown out with compressed air, once per year.
To check expiry dates requires unlatching the alarm from the base (attached to the ceiling) and looking on the back. It should have an expiry date label.