MatMomentDateModule install code example Example: MatMomentDateModule npm i @angular/material-moment-adapter --save