How to Change Date via Terminal
Make sure you are in Recovery Mode. If you not sure how to do that, let me give you a little reminder. Immediately hold down the Command and R keys until you see an Apple logo or spinning globe after restarting your Apple computer.
If you see a spinning globe, your Mac is trying to start macOS Recovery via the internet because it cannot start from the built-in recovery system
While in the Recovery mode, cancel the installation process, and navigate to Utilities and open the Terminal app and type Date to check current date.
You should see something like this:
Every bracket should be replaced with a two-digit number that represent current time and date.
So for example; February 6th 2021 13:45 would become the following command: