
## Duration {#duration}

The total span of active working time for a task as entered or as calculated by Microsoft Project based on start date, finish date, calendars, and other scheduling factors.

**Returns:** static Key < Aspose::Tasks::Duration , TaskKey>& Aspose::Tasks::

```cpp
Duration()
```

