Skip to main content

Notifications

Dynamics 365 Community / Forums / Sales forum / Need help to calculate...
Sales forum
Suggested answer

Need help to calculate hours excluding weekends and holidays

Posted on by

Hi, I need to get working hours between two date time fields excluding weekends and holidays?

Can we get Holidays list in  Javascript..

Thanks

Categories:
  • Suggested answer
    Steve Zhao2 Profile Picture
    Steve Zhao2 on at
    RE: Need help to calculate hours excluding weekends and holidays

    Hi EKL,

    It's not recommended to get Holiday list by yourself. ("Reinventing the wheel") You could google this and there are many JS libraries about this feature. Then download and import it is ok.

Helpful resources

Quick Links

Dynamics 365 Community Update

Welcome to the inaugural Community Platform Update. As part of our commitment to…

Dynamics 365 Community Newsletter - August 2024

Catch up on the latest D365 Community news

Community Spotlight of the Month

Kudos to Mohana Yadav!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,142 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 227,979 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans