How is task duration value calculated

Brass Contributor

Hello Everyone,


I want to know how exactly the task Duration value is calculated. For example, you can see the Duration, Start and Finish date value for some tasks.




While creating the main task (in bold) from C# application, I'm sending 3h as a duration value. Can anyone please explain how 0.25d is set to the main task?


Thanks & Regards,


1 Reply
rohanw24 --

The "main task" to which you refer in your question is known as a summary task. Microsoft Project calculates the Duration of a summary task from the Start date of the earliest starting task to the Finish date of the latest finishing task. In your example, the Duration of the longest task is 2h, which translates to .25d. Hope this helps.