I have this piece of code in my html:
No, as of now, it is not possible to choose time from matDatePicker. There is still an open issue on github regarding this feature.
Summary of the issue thread :
Alternatively you can use one of the following to have dateTimePicker for your project.
MaterialTimeControl - Material Design with Angular Material, CDK, and Flex Layouts
amazing-time-picker - Not built with Angular Material, but built to be compatible with it
date-time-picker - Not fully Material Design, but built with the CDK