Show All

# <DurationFormat> Element

For <Project>, the <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 expressing the duration of the extended attribute.

Element Properties

Property | Value
--- | ---
Data Type | Integer
Minimum Occurrences | 0
3 | m
4 | em
5 | h
6 | eh
7 | d
8 | ed
9 | w
10 | ew
11 | mo
12 | emo
19 | %
20 | e%
21 | Null
35 | m?
36 | em?
37 | h?
38 | eh?
39 | d?
40 | ed?
41 | w?
42 | ew?
43 | mo?
44 | emo?
51 | %?
52 | e%?
53 | Null
Maximum Occurrences | 1
Default Value | N/A
Abstract | False
Nillable | False
Element Constraints | N/A

Parent Elements

<Project>
<Task>
<Baseline>
<ExtendedAttribute>

See Also

XML Schema for the <Project> Element
XML Structure for the <Project> Element

XML Schema for the <Task> Element
XML Structure for the <Task> Element

XML Schema for the <Resource> Element
XML Structure for the <Resource> Element

XML Schema for the <Assignment> Element
XML Structure for the <Assignment> Element

XML Schema for the <ExtendedAttribute> Element
XML Structure for the <ExtendedAttribute> Element

## Remarks

A <DurationFormat> may be included within a <Baseline> or <ExtendedAttribute> in a <Resource> or <Assignment>, as well as a in a <Task>. It would be used to override the default duration format in the <Project> element.

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp