angular material date range picker set time code example
Example 1: date time picker in angular material
<input mdc-datetime-picker="" date="true" time="true" type="text" id="datetime"
placeholder="Date" show-todays-date="" minutes="true" min-date="date" show-icon="true"
ng-model="dateTime" class=" dtp-no-msclear dtp-input md-input">
Example 2: date range picker in angular 8
preDefinedRanges: [{ safd name: 'Day After tomorrow', value: { start: moment().add(2, 'days'), end: moment().add(2, 'days'), } },{ name: 'This week', value: { start: moment(), end: moment().add(7, 'days'), } }]