D
doniy
Hello,
I'm writing a mini-program in MSP2000.
Now I have a problem:
I want to calculate a finish date using a start date & a duration.
I got the duration by using dur=task(i).duration
for example the duration for task(i) is 12 days,
then I got the dur=task(i).duration ( = 5760 )
then I can calculate the finish date: finishdate=DateAdd(startdate,dur,cal1)
I must consider the task calendar while calculating.
the problem is the task calendar can be ignored by using a duration as 4edays
So my question is how can I identify the duration (the number of 5760 is
12days or 4edays), otherwise I will get 2 different finishdate
I have this problem also for lag ( lag can be day, eday or %, but what i can
get using vba is all in minutes, how to interpret)
thanks in advance
I'm writing a mini-program in MSP2000.
Now I have a problem:
I want to calculate a finish date using a start date & a duration.
I got the duration by using dur=task(i).duration
for example the duration for task(i) is 12 days,
then I got the dur=task(i).duration ( = 5760 )
then I can calculate the finish date: finishdate=DateAdd(startdate,dur,cal1)
I must consider the task calendar while calculating.
the problem is the task calendar can be ignored by using a duration as 4edays
So my question is how can I identify the duration (the number of 5760 is
12days or 4edays), otherwise I will get 2 different finishdate
I have this problem also for lag ( lag can be day, eday or %, but what i can
get using vba is all in minutes, how to interpret)
thanks in advance