CRM On Demand - Reports and Dashboards (MOSC)

MOSC Banner

How to get the number of working days between two days?

Is there any way to capture duration between two days from a SQL query by excluding calendar events(Holidays), Saturdays and Sundays?

example:

Start Date - 4th Feb 2022

End Date - 8th Feb 2022

calendar days - 4, 5, 6, 7, 8 -> duration is 5

working days - 4, 7, 8 -> duration is 3

I tried to get the working days by substract end date and start date, but it shows calendar day duration,

is there any simple way to capture only the working days?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center