made a application to send out notification with a 72 hours sla
How to exclude hoidays and weekends on sla
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
made a application to send out notification with a 72 hours sla
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Tuhin PaulRank #7 · 71.9K reputationPosted Oct 14, 2024, 2:42 PM EDT
Retrieve the Start Date:
Define the Working Hours:
List of Holidays:
Break 72 Hours into Working Days:
Iterate Over Calendar Days:
Check if SLA Expires within Working Hours: