marquito
09-27-04, 03:14 PM
Hello. I'm not sure how to start this.
My program is returning a DATE --> CVALUE
Now what I need is to make sure that this value is always a SATURDAY. Therefore I need to increase or decrease the date
****
WED | THUR | FRI | SAT | SUN | MON | TUE
incrase to SATURDAY decrease to SATURDAY
------------------> <------------------
Explanation:
if it is Wed | Thu | Fri ---> increase to Saturday
if it is Sun | Mon | Tues ---> decrease to Saturday.
Anybody wrote a function like this ? HELP would be very appreciated.
Thank you
marco
My program is returning a DATE --> CVALUE
Now what I need is to make sure that this value is always a SATURDAY. Therefore I need to increase or decrease the date
****
WED | THUR | FRI | SAT | SUN | MON | TUE
incrase to SATURDAY decrease to SATURDAY
------------------> <------------------
Explanation:
if it is Wed | Thu | Fri ---> increase to Saturday
if it is Sun | Mon | Tues ---> decrease to Saturday.
Anybody wrote a function like this ? HELP would be very appreciated.
Thank you
marco