Efficient DST algorithm to check for dst dates between two dates.
£20-250 GBP
Em Andamento
Publicado há aproximadamente 3 anos
£20-250 GBP
Pago na entrega
Hi, I'm looking for a javascript algorithm that accepts a start date and end date and returns an array of DST date objects no matter what the local timezone is. It will be run in browser.
For example if the local time zone is set to GMT,
getDSTDates(moment("01-JAN-2021"), moment("01-JAN-2022"));
Result:
['28-March-2021 01:00', '31-October-2021 02:00']
getDSTDates(moment("01-JAN-2020"), moment("01-JAN-2022"));
Result:
['29-March-2020 01:00', '25-October-2020 02:00', '28-March-2021 01:00', '31-October-2021 02:00']
If the local timezone is set to something else, the result should accurately respect the time zone.
The algorithm should not rely on hard-coded source of DST dates.
The algorithm should be performance driven, and should not check against every date between the two dates.
Require this task to be done within 3 days.
Thanks,
get an array of the DST date objects from start date to end date with javascript.
Hi, there. Hope you are doing well.
As a senior javascript developer, I can make this algorithm for you.
Reach out to me on here so that and we can discuss details.
Looking forward to hearing from you.
Regards.
Goran
Hello, I'm a JavaScript monster you are looking for.
I have 5+ years experience in TS, JS, React, Node, Angular.
It's a simple job for me, and I can assure you the perfect result in 3 days.
I'm very interested about your job and want to discuss more details on chat.
Best regards