New clean mac install

Old macbook and reinstall fails with error while preparing ... on clean reinstall
Is because of not having a set date...
goto Terminal and

date mmddHHMMyyyy

now it will reinstall