How do I get the manufacture date or age like what's shown in CoconutBattery using the terminal? I tried
ioreg -cr AppleSmartBattery which gave a
ManufacturerData (data, not date, but it was a date format) that's way too old to be correct for my computer.
system_profiler SPPowerDataType doesn't show anything related to what I want.
EDIT: there is a ManufactureDate line in ioreg, but it's a 5 digit number – how do I decode that?