I'm trying to obtain the duration of something. I have the start and end time in ms so I do the diff between the two values. But when I try to show it in HH:mm:ss format the timezone is different.
Start time : 1658150216000 | 18.07.2022 15:16:56
End time : 1658160216000 | 18.07.2022 18:03:36
Diff : 10000000 | (should be) 02:46:40 | (shows) 03:46:40
The first two dates are created with GMT+0200 but the diff time is created with GMT+0100, and I don' get to modify this timezone.
I also tried to parse just the number but gets the same result {{ 10000000 | date:'HH:mm:ss' }}