DurationFormat Element
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
For Project, DurationFormat is the default format for all durations in the project.
For Task , it is the format used to show the duration of the task.
For Baseline, it is the format for expressing the duration of the task baseline.
For ExtendedAttribute, it is the format for the duration of the extended attribute, such as a duration custom field.
<DurationFormat>
IntegerValue
</DurationFormat>
Parent Elements
Occurrences
Minimum: 0 Maximum: 1 |
Text Value
A text value of type integer is required.
Note |
---|
Elapsed time counts all time, including non-working time specified in the project, resource, or task calendar. For example, if the calendar specifies Saturday and Sunday as non-working days, a duration of 7d is seven working days such as Monday – Friday and the following Monday and Tuesday. A duration of 7ed is seven elapsed days, such as Monday – Sunday. |
Value |
Description |
---|---|
3 |
m (minutes) |
4 |
em (elapsed minutes) |
5 |
h (hours) |
6 |
eh (elapsed hours) |
7 |
d (days) |
8 |
ed (elapsed days) |
9 |
w (weeks) |
10 |
ew (elapsed weeks) |
11 |
mo (months) |
12 |
emo (elapsed months) |
19 |
% (percent) |
20 |
e% (elapsed percent) |
21 |
Null |
35 |
m? (estimated minutes) |
36 |
em? (estimated elapsed minutes) |
37 |
h? (estimated hours) |
38 |
eh? (estimated elapsed hours) |
39 |
d? (estimated days) |
40 |
ed? (estimated elapsed days) |
41 |
w? (estimated weeks) |
42 |
ew? (estimated elapsed weeks) |
43 |
mo? (estimated months) |
44 |
emo? (estimated elapsed months) |
51 |
%? (estimated percent) |
52 |
e%? (estimated elapsed percent) |
53 |
Null |
Remarks
A DurationFormat can be included within a Baseline or ExtendedAttribute in a Resource or Assignment, as well as in a Task. It is used to override the default duration format in the Project element.
See Also
Concepts
Project Elements and XML Structure
XML Schema for the Project Element
Task Elements and XML Structure
XML Schema for the Tasks Element