Angular 6 material - how to get date and time from matDatepicker?

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.

  1. MaterialTimeControl - Material Design with Angular Material, CDK, and Flex Layouts

  2. amazing-time-picker - Not built with Angular Material, but built to be compatible with it

  3. date-time-picker - Not fully Material Design, but built with the CDK

Tags:

Angular