JohnAtWork
Jul 15th, 1999, 09:23 PM
I've got a nasty one for you. . .
I have a date issue where I have a received date (when goods come into door) and a floor date (When goods are available to be consumed on the production floor). The Floor date is nonexistent, and I need to calculate it.
There's a set number of days (contained in another field, DelayTime) that is the delay between the two dates, and allows calculation of Floor Availability.
The problem is that DelayTime is in business days, and no work is done on the weekend.
So if I have a DelayTime of 3 business days, goods come in the door on Thurs, I need it to set the date to Tues, not Sun.
Anyone have any nifty functions that calculate around weekends?
------------------
Legalese:
Anything I say on this forum is strictly my own opinion, and if I make a jerk out of myself, it has NOTHING to do with the company.
[This message has been edited by JohnAtWork (edited 07-16-1999).]
I have a date issue where I have a received date (when goods come into door) and a floor date (When goods are available to be consumed on the production floor). The Floor date is nonexistent, and I need to calculate it.
There's a set number of days (contained in another field, DelayTime) that is the delay between the two dates, and allows calculation of Floor Availability.
The problem is that DelayTime is in business days, and no work is done on the weekend.
So if I have a DelayTime of 3 business days, goods come in the door on Thurs, I need it to set the date to Tues, not Sun.
Anyone have any nifty functions that calculate around weekends?
------------------
Legalese:
Anything I say on this forum is strictly my own opinion, and if I make a jerk out of myself, it has NOTHING to do with the company.
[This message has been edited by JohnAtWork (edited 07-16-1999).]