It is true! All smoke alarms must have an expiry date to meet New Zealand standards. Depending on make and model this is sometimes noted as a manufacture date, and expiry date or a manufacture code.
NB. Smoke alarms must be replaced once they exceed their service life. Failure to do so may result in an alarm not working in a fire situation or an insurance claim being declined.