Hi,
when i pick a date with datepicker, in the frontend it is shown with my local time gmt+1.
As soon as i pass it to my backend it is somehow converted and e.g. "01.01.2023" will be converted to "31.12.2022 23.00".
Is there an option for datepicker to save it directly in utc-time?
My workaround so far is
this.utcValue.setHours(0, -this.utcValue.getTimezoneOffset(), 0, 0);
See also my Stackblitz example: https://stackblitz.com/edit/angular-ivy-6yqhi7?file=src/app/app.component.ts
Regards
Matthias