serial number date code

kyoung
Contributor

This is not a Casper question but has anyone figured out how to parse the new serial number format to get the date of mfg out of it? Thanks much.

4 REPLIES 4

jarednichols
Honored Contributor

Best way is to integrate Casper with GSX and you'll get things like purchase date and warranty info. Date of manufacture is relatively irrelevant as it could sit in a warehouse for 4 months before purchase.

bvrooman
Valued Contributor

It's hard. I found someone that had figured it out once, but in a cube move I lost the notes. One of the characters is a letter identifying the 6-month period starting sometime in 2011, then another is a week of the 6-month period; both of those skip arbitrary letters, and I think the latter throws in some numbers in order to make it work out math-wise.

But for all practical purposes, what @jarednichols said. :)

kyoung
Contributor

OK. Thanks much.

emily
Valued Contributor III
Valued Contributor III

You can try this script: https://github.com/pudquick/pyMacWarranty

It gives an approximation if no data is available on the warranty, including estimated manufacture date.

You'll get results like this:

:~$ python /path/to/pyMacWarranty.py [serialnumberhere]
SERIAL_ID: [serialnumberhere]
PROD_DESCR: MacBook Air (13-inch, Early 2015)
ASD_VERSION: 
EST_APPLECARE_END_DATE: 2018-08-06
EST_MANUFACTURE_DATE: 2015-08-06
EST_PURCHASE_DATE: 2015-08-06
EST_WARRANTY_END_DATE: 2016-08-06
EST_WARRANTY_STATUS: LIMITED
PURCHASE_DATE: 
WARRANTY_END_DATE: 
WARRANTY_STATUS: 
ERROR_CODE: Unknown warranty status