SetDayFormat method: Gantt class

Syntax

SetDayFormat(Format)

Description

Use the SetDayFormat method to specify the format of the day on a time line axis.

Parameters

Parameter Description

Format

Specify the format the day should display in. The values are:

Value Description

%Chart_DayFormat

Display the day in a one- or two-digit format.

Note: This is the default format.

%Chart_DayFormat_2Digit

Note: This constant has been desupported; if specified, it defaults to %Chart_DayFormat.

%Chart_DayFormat_Name

Display the day using the full name, such as Monday, Tuesday, and so on.

%Chart_DayFormat_DOY

Display the day of the year in a numeric format, that is 1–366.

%Chart_DayFormat_DOY_ 2Digit

Note: This constant has been desupported; if specified, it defaults to %Chart_DayFormat.

%Chart_DayFormat_ShortName

Display the day using the short name, such as Mon, Tue, and so on.

Returns

None.