Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

How to calculate datediff in days excluding weekends

shashankverma05
Tera Contributor

Hi Guys could you help me to get the datediff by excluding weekends.

4 REPLIES 4

marcguy
ServiceNow Employee

you need to do it using a different function to include a schedule that would be 24x5. (Monday-Friday).


Calculate Duration Given a Schedule - ServiceNow Wiki


Useful Scheduling Scripts - ServiceNow Wiki


sumeet_n
Mega Guru