Hi all,
I am trying to compare a due date along with the sysdate to verify if the users completed the assignment or not.
But i want to exclude weekends from sysdate. Is it possible?
alexks (BOB member since 2008-03-25)
Hi all,
I am trying to compare a due date along with the sysdate to verify if the users completed the assignment or not.
But i want to exclude weekends from sysdate. Is it possible?
alexks (BOB member since 2008-03-25)
What you want as output Date or Days?
For days excluding week days you can find the some tips in below post
https://bobj-board.org/t/157452
Rajubollas (BOB member since 2009-09-04)
For days:
Create 3 Variables:
=LastDayOfWeek(CurrentDate())
=RelativeDate(LastDayOfWeek(CurrentDate());1)
=(CurrentDate()) Where (Not (CurrentDate()=[V_WeekLastday-1] And CurrentDate()=[V_WeekLastday] ) )
Third variable will give always week days date only
Rajubollas (BOB member since 2009-09-04)
This is also a solution for WeekDate
=If (CurrentDate()=LastDayOfWeek(CurrentDate());"Null";If(CurrentDate()=RelativeDate(LastDayOfWeek(CurrentDate());1);"Null";CurrentDate()))
Rajubollas (BOB member since 2009-09-04)