This is a question I want to ask. I find the answer here.
You can download an UI tool and install it on your Mac by using the following command if you have “Homebrew“ installed:
brew cask install coconutbattery
This tool will give the production date info you need(both the Mac and the battery).