PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

Is there a SQL command that will exclude weekends when counting the number of days between 2 dates?

I am using the PeopleSoft query expression below to total the differences between two dates for employees. It has now been requested of me to exclude weekend days from the totals. What can I add to the expression to accomplish this?

SUM(%DATEDIFF(D.EFFDT,(CASE WHEN F.EFFDT IS NULL THEN A.EFFDT ELSE F.EFFDT END)))

PeopleSoft Image 19

PeopleTools 8.57.05

Oracle DB

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