How to change timezone for the ngx-daterangepicker-material daterangepicker in Angular 9?

927 Views Asked by At

As per my requirement , I want to show the Hong Kong timezone even users from other timezone in ngx-daterangepicker-material. But date time picker shows locale time for Indian users . Here it needs to show the time of Hong Kong , not Indian time.

enter image description here

1

There are 1 best solutions below

0
On BEST ANSWER

By use moment-timezone,
moment().tz('Your Timezone').subtract(29, 'day')