A
Anders
Hi!
When trying to customize a start field (Start3) to show
the date five working days previous to an other start
field (Start4) I can't get the same date to show.
The formula I've used in Start3 looks like this:
ProjDateSub([Start4];1860;[Task Calendar])
1860 is the duration in minutes (5 days á 6,2 hours per
day á 60 minutes per hour = 1860 minutes)
The result is the first minute of the day afterwords i.e.
if Start4 equals 2003-12-15 14:12 then Start3 will equal
2003-12-09 07:00!!! I can substract 1861 minutes and then
Start3 would equal 2003-12-08 14:11 which is better but
still not correct.
What do I do wrong? How can I accomplish this task
differently (substracting five working days from a date)?
Anyone?
Best regards!
When trying to customize a start field (Start3) to show
the date five working days previous to an other start
field (Start4) I can't get the same date to show.
The formula I've used in Start3 looks like this:
ProjDateSub([Start4];1860;[Task Calendar])
1860 is the duration in minutes (5 days á 6,2 hours per
day á 60 minutes per hour = 1860 minutes)
The result is the first minute of the day afterwords i.e.
if Start4 equals 2003-12-15 14:12 then Start3 will equal
2003-12-09 07:00!!! I can substract 1861 minutes and then
Start3 would equal 2003-12-08 14:11 which is better but
still not correct.
What do I do wrong? How can I accomplish this task
differently (substracting five working days from a date)?
Anyone?
Best regards!