How is task duration value calculated

%3CLINGO-SUB%20id%3D%22lingo-sub-2687054%22%20slang%3D%22en-US%22%3EHow%20is%20task%20duration%20value%20calculated%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2687054%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Everyone%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20want%20to%20know%20how%20exactly%20the%20task%20Duration%20value%20is%20calculated.%20For%20example%2C%20you%20can%20see%20the%20Duration%2C%20Start%20and%20Finish%20date%20value%20for%20some%20tasks.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22rohanw24_1-1629968962773.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F305970i92668578CD78DEFC%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22rohanw24_1-1629968962773.png%22%20alt%3D%22rohanw24_1-1629968962773.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhile%20creating%20the%20main%20task%20(in%20bold)%20from%20C%23%20application%2C%20I'm%20sending%203h%20as%20a%20duration%20value.%20Can%20anyone%20please%20explain%20how%200.25d%20is%20set%20to%20the%20main%20task%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20%26amp%3B%20Regards%2C%3C%2FP%3E%3CP%3ERohan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2687054%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOnline%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EProject%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EProject%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
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.

 

rohanw24_1-1629968962773.png

 

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,

Rohan

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.