angular date range picker update code example
Example: 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'), } }]