A
A
andreys752021-06-01 11:16:01
JavaScript
andreys75, 2021-06-01 11:16:01

How to get a list of dates when the time changes to daylight savings time and back for a specific timezone?

Good afternoon!

How to get a list of dates when TimeZoneOffset changes depending on a specific time zone.
It is necessary to count a lot of durations of events, taking into account the calendar of working hours.
If you count with the help of libraries, it turns out very slowly. A simple algorithm works 300 times faster, but there is a problem with DST time. And I need to somehow quickly determine how many and with what offsets of switching between timestamp Start and timesatam End

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question